Class: Waterworks::TSV
- Inherits:
-
PipelineObject
- Object
- PipelineObject
- Waterworks::TSV
- Defined in:
- lib/waterworks/data_formats/tsv.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id = nil, name = nil) ⇒ TSV
constructor
A new instance of TSV.
Methods inherited from PipelineObject
#<=>, base_attrs, #collect_attrs!, from_hash, from_json, #set_attrs, #sourceify, #to_fhash, #to_hash, #to_json
Constructor Details
#initialize(id = nil, name = nil) ⇒ TSV
Returns a new instance of TSV.
18 19 20 |
# File 'lib/waterworks/data_formats/tsv.rb', line 18 def initialize(id = nil, name = nil) super(id, name).set_attrs(type: 'TSV') end |
Class Method Details
.safe_fields ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/waterworks/data_formats/tsv.rb', line 5 def self.safe_fields { column: :string, columnSeparator: :string, escapeChar: :string, parent: :ref, recordSeparator: :string, type: :string, }.merge superclass.safe_fields end |