Class: Manifestation

Inherits:
Object
  • Object
show all
Defined in:
lib/dunmanifestin/manifestation.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#textObject

Returns the value of attribute text.



2
3
4
# File 'lib/dunmanifestin/manifestation.rb', line 2

def text
  @text
end