Class: Brrr::Channel::TextInput
- Inherits:
-
Feed::Element
- Object
- Feed::Element
- Brrr::Channel::TextInput
- Defined in:
- lib/brrr/channel/text_input.rb
Instance Method Summary collapse
- #description ⇒ Object
-
#initialize(node) ⇒ TextInput
constructor
A new instance of TextInput.
- #link ⇒ Object
- #name ⇒ Object
- #title ⇒ Object
Methods inherited from Feed::Element
Constructor Details
#initialize(node) ⇒ TextInput
Returns a new instance of TextInput.
5 6 7 |
# File 'lib/brrr/channel/text_input.rb', line 5 def initialize(node) super end |
Instance Method Details
#description ⇒ Object
13 14 15 |
# File 'lib/brrr/channel/text_input.rb', line 13 def description node.at_xpath("./description").content end |
#link ⇒ Object
21 22 23 |
# File 'lib/brrr/channel/text_input.rb', line 21 def link node.at_xpath("./link").content end |
#name ⇒ Object
17 18 19 |
# File 'lib/brrr/channel/text_input.rb', line 17 def name node.at_xpath("./name").content end |
#title ⇒ Object
9 10 11 |
# File 'lib/brrr/channel/text_input.rb', line 9 def title node.at_xpath("./title").content end |