Class: TrooperFoster
- Inherits:
-
Object
- Object
- TrooperFoster
- Defined in:
- lib/farva/trooper_foster.rb
Constant Summary collapse
- QUOTE_LIBRARY =
[]
Instance Attribute Summary collapse
-
#email ⇒ Object
Returns the value of attribute email.
-
#name ⇒ Object
Returns the value of attribute name.
-
#quotes ⇒ Object
Returns the value of attribute quotes.
Instance Method Summary collapse
-
#initialize ⇒ TrooperFoster
constructor
A new instance of TrooperFoster.
Constructor Details
#initialize ⇒ TrooperFoster
Returns a new instance of TrooperFoster.
2 3 4 5 6 |
# File 'lib/farva/trooper_foster.rb', line 2 def initialize @name = "Trooper Jeff Foster" @email = "[email protected]" @quotes = QUOTE_LIBRARY end |
Instance Attribute Details
#email ⇒ Object
Returns the value of attribute email.
7 8 9 |
# File 'lib/farva/trooper_foster.rb', line 7 def email @email end |
#name ⇒ Object
Returns the value of attribute name.
7 8 9 |
# File 'lib/farva/trooper_foster.rb', line 7 def name @name end |
#quotes ⇒ Object
Returns the value of attribute quotes.
7 8 9 |
# File 'lib/farva/trooper_foster.rb', line 7 def quotes @quotes end |