Class: DataShift::Header
- Inherits:
-
Object
- Object
- DataShift::Header
- Defined in:
- lib/datashift/header.rb
Instance Attribute Summary collapse
-
#presentation ⇒ Object
Returns the value of attribute presentation.
-
#source ⇒ Object
Returns the value of attribute source.
Instance Method Summary collapse
-
#initialize(source:) ⇒ Header
constructor
A new instance of Header.
- #to_s ⇒ Object
Constructor Details
#initialize(source:) ⇒ Header
Returns a new instance of Header.
14 15 16 17 |
# File 'lib/datashift/header.rb', line 14 def initialize(source:) @source = source @presentation = source end |
Instance Attribute Details
#presentation ⇒ Object
Returns the value of attribute presentation.
12 13 14 |
# File 'lib/datashift/header.rb', line 12 def presentation @presentation end |
#source ⇒ Object
Returns the value of attribute source.
12 13 14 |
# File 'lib/datashift/header.rb', line 12 def source @source end |
Instance Method Details
#to_s ⇒ Object
19 20 21 |
# File 'lib/datashift/header.rb', line 19 def to_s presentation end |