Class: Epubber::Generators::Generator

Inherits:
Object
  • Object
show all
Defined in:
lib/epubber/generators/generator.rb

Direct Known Subclasses

Introduction

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(book:, persistance:) ⇒ Generator

Returns a new instance of Generator.



6
7
8
9
# File 'lib/epubber/generators/generator.rb', line 6

def initialize(book:, persistance:)
  @book = book
  @persistance = persistance
end

Instance Attribute Details

#bookObject (readonly)

Returns the value of attribute book.



5
6
7
# File 'lib/epubber/generators/generator.rb', line 5

def book
  @book
end

#persistanceObject (readonly)

Returns the value of attribute persistance.



5
6
7
# File 'lib/epubber/generators/generator.rb', line 5

def persistance
  @persistance
end