Class: Crntb::Minute
Instance Attribute Summary
Attributes inherited from Field
Instance Method Summary collapse
Methods inherited from Field
#every_time?, #expand_range, #first_to_last?, #get_collection, #get_range, #get_step, #initialize, #interpretation, parse, #range_time?
Constructor Details
This class inherits a constructor from Crntb::Field
Instance Method Details
#field_range ⇒ Object
123 124 125 |
# File 'lib/crntb/field.rb', line 123 def field_range 0..59 end |
#parse ⇒ Object
127 128 129 130 131 132 133 134 |
# File 'lib/crntb/field.rb', line 127 def parse case field when '*' "every minute" else "when minute equals #{super}" end end |