class HelloCrush::Give
Public Class Methods
new(name)
click to toggle source
# File lib/hello_crush/give.rb, line 3 def initialize(name) @name = name end
Public Instance Methods
for_you()
click to toggle source
# File lib/hello_crush/give.rb, line 7 def for_you "#{@name} #{randomg_thing} for you." end
Private Instance Methods
randomg_thing()
click to toggle source
# File lib/hello_crush/give.rb, line 13 def randomg_thing HelloCrush::THINGS.sample end