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:



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_onObject

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

#authorObject

Returns the value of attribute author.



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

def author
  @author
end

#locationObject

Returns the value of attribute location.



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

def location
  @location
end

#pageObject

Returns the value of attribute page.



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

def page
  @page
end

#textObject

Returns the value of attribute text.



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

def text
  @text
end

#titleObject

Returns the value of attribute title.



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

def title
  @title
end

#typeObject

Returns the value of attribute type.



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

def type
  @type
end