Class: PuzzleReader::DataRow

Inherits:
DataSet
  • Object
show all
Defined in:
lib/puzzle_reader.rb

Instance Attribute Summary

Attributes inherited from DataSet

#data

Instance Method Summary collapse

Methods inherited from DataSet

#each, #method_missing, #self

Constructor Details

#initialize(data) ⇒ DataRow

Returns a new instance of DataRow.



48
49
50
# File 'lib/puzzle_reader.rb', line 48

def initialize(data)
  @data = data.next.to_s.strip
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class PuzzleReader::DataSet