Module: Facebooker::Parser::REXMLElementExtensions

Defined in:
lib/facebooker/parser.rb

Overview

:nodoc:

Instance Method Summary (collapse)

Instance Method Details

- (Object) [](key)



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

def [] key
  attributes[key]
end

- (Object) content



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

def content
  self.text || ''
end

- (Boolean) text?

Returns:

  • (Boolean)


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

def text?
  false
end