Class: Degica::Jack

Inherits:
Person show all
Defined in:
lib/degica/objects/people/jack.rb

Instance Attribute Summary

Attributes included from Collectable

#collection

Instance Method Summary collapse

Methods inherited from Person

#actions, #describe, #give, #initialize, #inspect, #talk

Methods inherited from Object

#actions, #describe, #initialize, #prompt

Methods included from Actionable

#actions, #describe, #do, #prompt

Constructor Details

This class inherits a constructor from Degica::Person

Instance Method Details

#descriptionObject



15
16
17
18
19
20
# File 'lib/degica/objects/people/jack.rb', line 15

def description
  desc = []
  desc << "It's Jack Momose. He's the CEO of Degica."
  desc << "He is holding a ruby. He doesn't seem to know what he should do with it." if holding?(:ruby)
  desc
end

#nameObject



3
4
5
# File 'lib/degica/objects/people/jack.rb', line 3

def name
  :jack
end

#quoteObject



7
8
9
10
11
12
13
# File 'lib/degica/objects/people/jack.rb', line 7

def quote
  [
    "To understand VR, you absolutely have to experience it, to immerse yourself in it.",
    "We’ve dealt with all the hassle and complication of Japanese payments so that companies don’t have to",
    "Komoju helps companies quickly accept payments in Japan, and lets consumers pay the way that they want to pay."
  ].sample
end