Class: BomDB::Cli::Application::Chapter
- Inherits:
-
Object
- Object
- BomDB::Cli::Application::Chapter
- Defined in:
- lib/bomdb/cli/application.rb
Instance Attribute Summary collapse
-
#book ⇒ Object
readonly
Returns the value of attribute book.
-
#chapter ⇒ Object
readonly
Returns the value of attribute chapter.
-
#wordcount ⇒ Object
readonly
Returns the value of attribute wordcount.
Instance Method Summary collapse
-
#initialize(wordcount, book, chapter) ⇒ Chapter
constructor
A new instance of Chapter.
Constructor Details
#initialize(wordcount, book, chapter) ⇒ Chapter
Returns a new instance of Chapter.
299 300 301 |
# File 'lib/bomdb/cli/application.rb', line 299 def initialize(wordcount, book, chapter) @wordcount, @book, @chapter = wordcount, book, chapter end |
Instance Attribute Details
#book ⇒ Object (readonly)
Returns the value of attribute book.
298 299 300 |
# File 'lib/bomdb/cli/application.rb', line 298 def book @book end |
#chapter ⇒ Object (readonly)
Returns the value of attribute chapter.
298 299 300 |
# File 'lib/bomdb/cli/application.rb', line 298 def chapter @chapter end |
#wordcount ⇒ Object (readonly)
Returns the value of attribute wordcount.
298 299 300 |
# File 'lib/bomdb/cli/application.rb', line 298 def wordcount @wordcount end |