Module: Cronin::Restricted
Instance Method Summary collapse
Instance Method Details
#restricted? ⇒ Boolean
4 5 6 7 8 9 10 11 |
# File 'lib/cronin/restricted.rb', line 4 def restricted? case @cron_value #TODO: repetition code from abstract timing when /^(\d{1,2}|\*\/\d{1,2})$/ return true when "*" end end |