Merge branch 'integration' of github.com:javan/whenever into integration
This commit is contained in:
commit
4ddb2c15ff
@ -60,7 +60,7 @@ module Whenever
|
||||
end
|
||||
|
||||
if shortcut
|
||||
if @at > 0
|
||||
if @at.is_a?(Time) || (@at.is_a?(Numeric) && @at>0)
|
||||
raise ArgumentError, "You cannot specify an ':at' when using the shortcuts for times."
|
||||
else
|
||||
return shortcut
|
||||
|
Loading…
Reference in New Issue
Block a user