Module: Facebooker::Parser::REXMLElementExtensions

Defined in:
lib/facebooker/parser.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#[](key) ⇒ Object



17
18
19
# File 'lib/facebooker/parser.rb', line 17

def [] key
  attributes[key]
end

#contentObject



13
14
15
# File 'lib/facebooker/parser.rb', line 13

def content
  self.text || ''
end

#text?Boolean

Returns:

  • (Boolean)


21
22
23
# File 'lib/facebooker/parser.rb', line 21

def text?
  false
end