Redmine/test/fixtures/files/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