lib/shoulda/whenever/schedule_matcher.rb in shoulda-whenever-0.0.1 vs lib/shoulda/whenever/schedule_matcher.rb in shoulda-whenever-0.0.2
- old
+ new
@@ -10,13 +10,13 @@
class ScheduleMatcher
attr_reader :duration, :time, :task, :roles
def initialize(task)
- @task = task
+ @task = task
@duration = nil
- @time = nil
- @roles = nil
+ @time = nil
+ @roles = nil
end
def matches?(subject)
jobs = subject.instance_variable_get("@jobs")