Class: Microby::HFeed
- Inherits:
-
Object
- Object
- Microby::HFeed
- Defined in:
- lib/microby/h_feed.rb
Instance Attribute Summary collapse
-
#entries ⇒ Object
Returns the value of attribute entries.
Instance Method Summary collapse
-
#initialize(html) ⇒ HFeed
constructor
A new instance of HFeed.
- #parse_html(html) ⇒ Object
Constructor Details
#initialize(html) ⇒ HFeed
Returns a new instance of HFeed.
4 5 6 7 |
# File 'lib/microby/h_feed.rb', line 4 def initialize(html) @entries = [] parse_html(html) end |
Instance Attribute Details
#entries ⇒ Object
Returns the value of attribute entries.
3 4 5 |
# File 'lib/microby/h_feed.rb', line 3 def entries @entries end |