Class: Hello::Gem
- Inherits:
-
Object
- Object
- Hello::Gem
- Defined in:
- lib/hello_gem.rb
Instance Method Summary collapse
- #hi ⇒ Object
-
#initialize(name) ⇒ Gem
constructor
A new instance of Gem.
Constructor Details
#initialize(name) ⇒ Gem
Returns a new instance of Gem.
3 4 5 |
# File 'lib/hello_gem.rb', line 3 def initialize(name) @name = name end |
Instance Method Details
#hi ⇒ Object
7 8 9 10 |
# File 'lib/hello_gem.rb', line 7 def hi hello test end |