view test/fixtures/files/060719210727_source.rb @ 98:596803cb34fc luisf

Created a model for the Intitutions; Created a seed file to initialize the db;
author Luis Figueira <luis.figueira@eecs.qmul.ac.uk>
date Thu, 16 Dec 2010 14:55:37 +0000
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