Redmine/test/fixtures/files/2006/07/060719210727_source.rb

11 lines
143 B
Ruby
Raw Normal View History

# The Greeter class
class Greeter
def initialize(name)
@name = name.capitalize
end
def salute
puts "Hello #{@name}!"
end
end