Class: HelloCrush::Give
- Inherits:
-
Object
- Object
- HelloCrush::Give
- Defined in:
- lib/hello_crush/give.rb
Instance Method Summary collapse
- #for_you ⇒ Object
-
#initialize(name) ⇒ Give
constructor
A new instance of Give.
Constructor Details
#initialize(name) ⇒ Give
Returns a new instance of Give.
3 4 5 |
# File 'lib/hello_crush/give.rb', line 3 def initialize(name) @name = name end |
Instance Method Details
#for_you ⇒ Object
7 8 9 |
# File 'lib/hello_crush/give.rb', line 7 def for_you "#{@name} #{randomg_thing} for you." end |