Class: Hello

Inherits:
Object
  • Object
show all
Defined in:
lib/hello.rb

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Hello

Returns a new instance of Hello.



2
3
4
# File 'lib/hello.rb', line 2

def initialize name
  puts "oh hey, #{name}!"
end