Class: Everlog::Dom::Value::Footer

Inherits:
Everlog::Dom::Value show all
Includes:
Maybe
Defined in:
lib/everlog/dom/value/footer.rb

Instance Method Summary collapse

Methods included from Maybe

#maybe

Methods inherited from Everlog::Dom::Value

#parse_to_His

Constructor Details

#initialize(phrase) ⇒ Footer

Returns a new instance of Footer.



5
6
7
# File 'lib/everlog/dom/value/footer.rb', line 5

def initialize phrase
  @phrase = phrase
end

Instance Method Details

#phraseObject



9
10
11
# File 'lib/everlog/dom/value/footer.rb', line 9

def phrase
  maybe(@phrase).to_s
end