Class: RSSFeed::RSSTextInput
Instance Method Summary collapse
-
#description ⇒ Object
Description (required).
-
#initialize(node) ⇒ RSSTextInput
constructor
Initializes the text input element.
-
#link ⇒ Object
Link (required).
-
#name ⇒ Object
Name (required).
-
#title ⇒ Object
Title (required).
Constructor Details
#initialize(node) ⇒ RSSTextInput
Initializes the text input element.
4 5 6 |
# File 'lib/rss_feed/rss_text_input.rb', line 4 def initialize(node) @node = node end |
Instance Method Details
#description ⇒ Object
Description (required)
14 15 16 |
# File 'lib/rss_feed/rss_text_input.rb', line 14 def description @node.at_xpath("description").content end |
#link ⇒ Object
Link (required)
24 25 26 |
# File 'lib/rss_feed/rss_text_input.rb', line 24 def link @node.at_xpath("link").content end |
#name ⇒ Object
Name (required)
19 20 21 |
# File 'lib/rss_feed/rss_text_input.rb', line 19 def name @node.at_xpath("name").content end |
#title ⇒ Object
Title (required)
9 10 11 |
# File 'lib/rss_feed/rss_text_input.rb', line 9 def title @node.at_xpath("title").content end |