Class: ECCSV::Correction
- Inherits:
-
Object
- Object
- ECCSV::Correction
- Defined in:
- lib/eccsv/correction.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#col ⇒ Object
readonly
Returns the value of attribute col.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
Instance Method Summary collapse
- #apply(stream) ⇒ Object
-
#initialize(line, col, *args) ⇒ Correction
constructor
A new instance of Correction.
Constructor Details
#initialize(line, col, *args) ⇒ Correction
Returns a new instance of Correction.
5 6 7 8 |
# File 'lib/eccsv/correction.rb', line 5 def initialize(line, col, *args) @line = line @col = col end |
Instance Attribute Details
#col ⇒ Object (readonly)
Returns the value of attribute col.
3 4 5 |
# File 'lib/eccsv/correction.rb', line 3 def col @col end |
#line ⇒ Object (readonly)
Returns the value of attribute line.
3 4 5 |
# File 'lib/eccsv/correction.rb', line 3 def line @line end |
Instance Method Details
#apply(stream) ⇒ Object
10 11 12 |
# File 'lib/eccsv/correction.rb', line 10 def apply(stream) raise NotImplementedError end |