Class: Miteru::Entry
- Inherits:
-
Object
- Object
- Miteru::Entry
- Defined in:
- lib/miteru/feeds.rb
Instance Attribute Summary collapse
- #source ⇒ String readonly
- #url ⇒ String readonly
Instance Method Summary collapse
-
#initialize(url, source) ⇒ Entry
constructor
A new instance of Entry.
Constructor Details
#initialize(url, source) ⇒ Entry
Returns a new instance of Entry.
17 18 19 20 |
# File 'lib/miteru/feeds.rb', line 17 def initialize(url, source) @url = url @source = source end |
Instance Attribute Details
#source ⇒ String (readonly)
15 16 17 |
# File 'lib/miteru/feeds.rb', line 15 def source @source end |
#url ⇒ String (readonly)
13 14 15 |
# File 'lib/miteru/feeds.rb', line 13 def url @url end |