Module: Facebooker::Parser::REXMLElementExtensions

Defined in:
lib/facebooker/parser.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#[](key) ⇒ Object



11
12
13
# File 'lib/facebooker/parser.rb', line 11

def [] key
  attributes[key]
end

#contentObject



7
8
9
# File 'lib/facebooker/parser.rb', line 7

def content
  self.text || ''
end

#text?Boolean

Returns:

  • (Boolean)


15
16
17
# File 'lib/facebooker/parser.rb', line 15

def text?
  false
end