Class: ZTK::Report
- Inherits:
-
Base
- Object
- Base
- ZTK::Report
- Includes:
- List, Private, Spreadsheet
- Defined in:
- lib/ztk/report.rb,
lib/ztk/report/list.rb,
lib/ztk/report/private.rb,
lib/ztk/report/spreadsheet.rb
Overview
Report Class
This class contains tools for generating spreadsheet or key-value list styled output. Report methods are currently meant to be interchangeable; that is one should be able to just switch which method they are calling to change the output type.
The idea here is that everything is auto-sized and simply displayed.
Defined Under Namespace
Modules: List, Private, Spreadsheet
Instance Method Summary (collapse)
-
- (Report) initialize(configuration = {})
constructor
A new instance of Report.
Methods included from Private
#calculate_spreadsheet_width, #format_entry, #format_header, #format_row, #max_spreadsheet_lengths
Methods included from Spreadsheet
Methods included from List
Methods inherited from Base
build_config, #config, #direct_log, hash_config, log_and_raise, #log_and_raise
Constructor Details
- (Report) initialize(configuration = {})
Returns a new instance of Report
30 31 32 |
# File 'lib/ztk/report.rb', line 30 def initialize(configuration={}) super(configuration) end |