Class: BomDB::Cli::Application::Chapter

Inherits:
Object
  • Object
show all
Defined in:
lib/bomdb/cli/application.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#bookObject (readonly)

Returns the value of attribute book.



298
299
300
# File 'lib/bomdb/cli/application.rb', line 298

def book
  @book
end

#chapterObject (readonly)

Returns the value of attribute chapter.



298
299
300
# File 'lib/bomdb/cli/application.rb', line 298

def chapter
  @chapter
end

#wordcountObject (readonly)

Returns the value of attribute wordcount.



298
299
300
# File 'lib/bomdb/cli/application.rb', line 298

def wordcount
  @wordcount
end