Class: Hello
- Inherits:
-
Object
- Object
- Hello
- Defined in:
- lib/hello.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ Hello
constructor
A new instance of Hello.
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 |