Class: Epubber::Generators::Generator
- Inherits:
-
Object
- Object
- Epubber::Generators::Generator
- Defined in:
- lib/epubber/generators/generator.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#book ⇒ Object
readonly
Returns the value of attribute book.
-
#persistance ⇒ Object
readonly
Returns the value of attribute persistance.
Instance Method Summary collapse
-
#initialize(book:, persistance:) ⇒ Generator
constructor
A new instance of Generator.
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
#book ⇒ Object (readonly)
Returns the value of attribute book.
5 6 7 |
# File 'lib/epubber/generators/generator.rb', line 5 def book @book end |
#persistance ⇒ Object (readonly)
Returns the value of attribute persistance.
5 6 7 |
# File 'lib/epubber/generators/generator.rb', line 5 def persistance @persistance end |