Class: Fyodor::StatsPrinter
- Inherits:
-
Object
- Object
- Fyodor::StatsPrinter
- Includes:
- Strings
- Defined in:
- lib/fyodor/stats_printer.rb
Constant Summary
Constants included from Strings
Fyodor::Strings::PLURAL, Fyodor::Strings::SINGULAR
Instance Method Summary collapse
-
#initialize(library) ⇒ StatsPrinter
constructor
A new instance of StatsPrinter.
- #print ⇒ Object
Constructor Details
#initialize(library) ⇒ StatsPrinter
Returns a new instance of StatsPrinter.
7 8 9 |
# File 'lib/fyodor/stats_printer.rb', line 7 def initialize(library) @library = library end |
Instance Method Details
#print ⇒ Object
11 12 13 14 15 16 |
# File 'lib/fyodor/stats_printer.rb', line 11 def print num_books rejected types pretty_output end |