Module: Crntb

Defined in:
lib/crntb.rb,
lib/crntb/file.rb,
lib/crntb/field.rb,
lib/crntb/version.rb

Defined Under Namespace

Classes: Command, DayOfMonth, DayOfWeek, Field, File, Hour, Line, Minute, Month

Constant Summary collapse

VERSION =
'0.1.0'

Class Method Summary collapse

Class Method Details

.parse(file) ⇒ Object



5
6
7
# File 'lib/crntb.rb', line 5

def self.parse(file)
  Crntb::File.parse(file)
end

.parse_line(line) ⇒ Object



9
10
11
# File 'lib/crntb.rb', line 9

def self.parse_line(line)
  Crntb::Line.new(line).parse
end