Module: MasterDataTool::Report::Printer
- Included in:
- DefaultPrinter
- Defined in:
- lib/master_data_tool/report/printer.rb
Instance Attribute Summary collapse
-
#silent ⇒ Object
Returns the value of attribute silent.
-
#spec_config ⇒ Object
readonly
Returns the value of attribute spec_config.
Instance Method Summary collapse
Instance Attribute Details
#silent ⇒ Object
Returns the value of attribute silent.
7 8 9 |
# File 'lib/master_data_tool/report/printer.rb', line 7 def silent @silent end |
#spec_config ⇒ Object (readonly)
Returns the value of attribute spec_config.
6 7 8 |
# File 'lib/master_data_tool/report/printer.rb', line 6 def spec_config @spec_config end |
Instance Method Details
#initialize(spec_config:, silent: false) ⇒ Object
9 10 11 12 |
# File 'lib/master_data_tool/report/printer.rb', line 9 def initialize(spec_config:, silent: false) @spec_config = spec_config @silent = silent end |
#print(message:) ⇒ Object
14 15 16 17 18 |
# File 'lib/master_data_tool/report/printer.rb', line 14 def print(message:) return if silent raise NotImplementedError end |