module Crntb

Constants

VERSION

Public Class Methods

parse(line) click to toggle source
# File lib/crntb.rb, line 5
def self.parse(line)
  Crntb::Line.new(line)
end
parse_file(file) click to toggle source
# File lib/crntb.rb, line 9
def self.parse_file(file)
  ::File.readlines(file).each_with_object([]) do |line, arr|
    arr << Crntb::Line.new(line.chomp!)
  end
end