Class: DataFile::Reader::Base
- Inherits:
-
Object
- Object
- DataFile::Reader::Base
- Defined in:
- lib/data_file/reader/base.rb
Instance Attribute Summary collapse
-
#reader ⇒ Object
readonly
Returns the value of attribute reader.
Instance Method Summary collapse
-
#initialize(reader) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(reader) ⇒ Base
Returns a new instance of Base.
6 7 8 |
# File 'lib/data_file/reader/base.rb', line 6 def initialize(reader) @reader = reader end |
Instance Attribute Details
#reader ⇒ Object (readonly)
Returns the value of attribute reader.
4 5 6 |
# File 'lib/data_file/reader/base.rb', line 4 def reader @reader end |