Class: Acme::Smileage::Blog::Entry::List
- Inherits:
-
Object
- Object
- Acme::Smileage::Blog::Entry::List
- Defined in:
- lib/acme/smileage/blog/entry.rb
Instance Attribute Summary collapse
-
#entries ⇒ Object
Returns the value of attribute entries.
-
#link ⇒ Object
Returns the value of attribute link.
-
#next_page ⇒ Object
Returns the value of attribute next_page.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ List
constructor
A new instance of List.
Constructor Details
#initialize {|_self| ... } ⇒ List
Returns a new instance of List.
10 11 12 13 |
# File 'lib/acme/smileage/blog/entry.rb', line 10 def initialize self.entries = [] yield self if block_given? end |
Instance Attribute Details
#entries ⇒ Object
Returns the value of attribute entries.
8 9 10 |
# File 'lib/acme/smileage/blog/entry.rb', line 8 def entries @entries end |
#link ⇒ Object
Returns the value of attribute link.
8 9 10 |
# File 'lib/acme/smileage/blog/entry.rb', line 8 def link @link end |
#next_page ⇒ Object
Returns the value of attribute next_page.
8 9 10 |
# File 'lib/acme/smileage/blog/entry.rb', line 8 def next_page @next_page end |