Sha256: 249956f607869877e063be34d15812b61368c0263c7594da79f20444f78d764a
Contents?: true
Size: 225 Bytes
Versions: 1
Compression:
Stored size: 225 Bytes
Contents
module CommaPile class LineParser def self.with(line) yield(new(line)) end attr_reader :line def initialize(line) @line = line end def [](value) line[value] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jeremyf-comma_pile-0.1.0 | lib/comma_pile/line_parser.rb |