Hello world!

3 10 2007
class Greets
  def initialize(name)
    @name = name.capitalize
  end
  def gretings
    puts "Hello #{@name}!"
  end
end
g = Greets.new("world")
g.greetings

———————————-

Yuhuu … I’m moving my blog to this site address

Advertisements