Class: Klipbook::Sources::KindleDevice::Entry

Inherits:
Object
  • Object
show all
Defined in:
lib/klipbook/sources/kindle_device/entry.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize {|_self| ... } ⇒ Entry

Returns a new instance of Entry.

Yields:

  • (_self)

Yield Parameters:



7
8
9
# File 'lib/klipbook/sources/kindle_device/entry.rb', line 7

def initialize
  yield self if block_given?
end

Instance Attribute Details

#added_onObject

Returns the value of attribute added_on.



5
6
7
# File 'lib/klipbook/sources/kindle_device/entry.rb', line 5

def added_on
  @added_on
end

#authorObject

Returns the value of attribute author.



5
6
7
# File 'lib/klipbook/sources/kindle_device/entry.rb', line 5

def author
  @author
end

#locationObject

Returns the value of attribute location.



5
6
7
# File 'lib/klipbook/sources/kindle_device/entry.rb', line 5

def location
  @location
end

#pageObject

Returns the value of attribute page.



5
6
7
# File 'lib/klipbook/sources/kindle_device/entry.rb', line 5

def page
  @page
end

#textObject

Returns the value of attribute text.



5
6
7
# File 'lib/klipbook/sources/kindle_device/entry.rb', line 5

def text
  @text
end

#titleObject

Returns the value of attribute title.



5
6
7
# File 'lib/klipbook/sources/kindle_device/entry.rb', line 5

def title
  @title
end

#typeObject

Returns the value of attribute type.



5
6
7
# File 'lib/klipbook/sources/kindle_device/entry.rb', line 5

def type
  @type
end