Class: Manifestation
- Inherits:
-
Object
- Object
- Manifestation
- Defined in:
- lib/dunmanifestin/manifestation.rb
Instance Attribute Summary collapse
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(desired) ⇒ Manifestation
constructor
A new instance of Manifestation.
Constructor Details
#initialize(desired) ⇒ Manifestation
Returns a new instance of Manifestation.
4 5 6 |
# File 'lib/dunmanifestin/manifestation.rb', line 4 def initialize desired @text = manifestation of: desired[:phrase], from: desired[:genre] end |
Instance Attribute Details
#text ⇒ Object
Returns the value of attribute text.
2 3 4 |
# File 'lib/dunmanifestin/manifestation.rb', line 2 def text @text end |