Class: TrooperFarva
- Inherits:
-
Object
- Object
- TrooperFarva
- Defined in:
- lib/farva/trooper_farva.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 ⇒ TrooperFarva
constructor
A new instance of TrooperFarva.
Constructor Details
#initialize ⇒ TrooperFarva
Returns a new instance of TrooperFarva.
2 3 4 5 6 |
# File 'lib/farva/trooper_farva.rb', line 2 def initialize @name = "Trooper Rod Farva" @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_farva.rb', line 7 def email @email end |
#name ⇒ Object
Returns the value of attribute name.
7 8 9 |
# File 'lib/farva/trooper_farva.rb', line 7 def name @name end |
#quotes ⇒ Object
Returns the value of attribute quotes.
7 8 9 |
# File 'lib/farva/trooper_farva.rb', line 7 def quotes @quotes end |