view test/fixtures/files/060719210727_source.rb @ 561:9d786d8d3b1f feature_36

Fixes Bug #251.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Thu, 04 Aug 2011 17:00:13 +0100
parents 513646585e45
children
line wrap: on
line source
# The Greeter class
class Greeter
  def initialize(name)
    @name = name.capitalize
  end

  def salute
    puts "Hello #{@name}!" 
  end
end