class CbrToEpub::Output::Content::Page

Attributes

input_image_file[R]
number[R]

Public Class Methods

new(number, input_image_file) click to toggle source
# File lib/cbr_to_epub/output/content/page.rb, line 7
def initialize(number, input_image_file)
  @number = number
  @input_image_file = input_image_file
end

Public Instance Methods

erb_binding() click to toggle source
# File lib/cbr_to_epub/output/content/page.rb, line 24
def erb_binding
  binding
end
image_file() click to toggle source
# File lib/cbr_to_epub/output/content/page.rb, line 16
def image_file
  "#{number}.jpg"
end
image_media_type() click to toggle source
# File lib/cbr_to_epub/output/content/page.rb, line 20
def image_media_type
  'image/jpeg'
end
page_file() click to toggle source
# File lib/cbr_to_epub/output/content/page.rb, line 12
def page_file
  "#{number}.xhtml"
end