Class: TableSaw::Formats::Base
- Inherits:
-
Object
- Object
- TableSaw::Formats::Base
- Defined in:
- lib/table_saw/formats/base.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#table_name ⇒ Object
readonly
Returns the value of attribute table_name.
Instance Method Summary collapse
- #coder ⇒ Object
- #dump_row(_row) ⇒ Object
- #footer ⇒ Object
- #header ⇒ Object
-
#initialize(table_name, options: {}) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(table_name, options: {}) ⇒ Base
Returns a new instance of Base.
8 9 10 11 |
# File 'lib/table_saw/formats/base.rb', line 8 def initialize(table_name, options: {}) @table_name = table_name @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
6 7 8 |
# File 'lib/table_saw/formats/base.rb', line 6 def @options end |
#table_name ⇒ Object (readonly)
Returns the value of attribute table_name.
6 7 8 |
# File 'lib/table_saw/formats/base.rb', line 6 def table_name @table_name end |
Instance Method Details
#coder ⇒ Object
25 26 |
# File 'lib/table_saw/formats/base.rb', line 25 def coder end |
#dump_row(_row) ⇒ Object
21 22 23 |
# File 'lib/table_saw/formats/base.rb', line 21 def dump_row(_row) raise NotImplementedError end |
#footer ⇒ Object
17 18 19 |
# File 'lib/table_saw/formats/base.rb', line 17 def raise NotImplementedError end |
#header ⇒ Object
13 14 15 |
# File 'lib/table_saw/formats/base.rb', line 13 def header raise NotImplementedError end |