Class: Klipbook::Sources::KindleDevice::Entry
- Inherits:
-
Object
- Object
- Klipbook::Sources::KindleDevice::Entry
- Defined in:
- lib/klipbook/sources/kindle_device/entry.rb
Instance Attribute Summary collapse
-
#added_on ⇒ Object
Returns the value of attribute added_on.
-
#author ⇒ Object
Returns the value of attribute author.
-
#location ⇒ Object
Returns the value of attribute location.
-
#page ⇒ Object
Returns the value of attribute page.
-
#text ⇒ Object
Returns the value of attribute text.
-
#title ⇒ Object
Returns the value of attribute title.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ Entry
constructor
A new instance of Entry.
Constructor Details
#initialize {|_self| ... } ⇒ Entry
Returns a new instance of Entry.
6 7 8 |
# File 'lib/klipbook/sources/kindle_device/entry.rb', line 6 def initialize yield self if block_given? end |
Instance Attribute Details
#added_on ⇒ Object
Returns the value of attribute added_on.
4 5 6 |
# File 'lib/klipbook/sources/kindle_device/entry.rb', line 4 def added_on @added_on end |
#author ⇒ Object
Returns the value of attribute author.
4 5 6 |
# File 'lib/klipbook/sources/kindle_device/entry.rb', line 4 def @author end |
#location ⇒ Object
Returns the value of attribute location.
4 5 6 |
# File 'lib/klipbook/sources/kindle_device/entry.rb', line 4 def location @location end |
#page ⇒ Object
Returns the value of attribute page.
4 5 6 |
# File 'lib/klipbook/sources/kindle_device/entry.rb', line 4 def page @page end |
#text ⇒ Object
Returns the value of attribute text.
4 5 6 |
# File 'lib/klipbook/sources/kindle_device/entry.rb', line 4 def text @text end |
#title ⇒ Object
Returns the value of attribute title.
4 5 6 |
# File 'lib/klipbook/sources/kindle_device/entry.rb', line 4 def title @title end |
#type ⇒ Object
Returns the value of attribute type.
4 5 6 |
# File 'lib/klipbook/sources/kindle_device/entry.rb', line 4 def type @type end |