lib/legion/extensions/scheduler.rb in lex-scheduler-0.1.1 vs lib/legion/extensions/scheduler.rb in lex-scheduler-0.1.2
- old
+ new
@@ -1,15 +1,12 @@
-# frozen_string_literal: true
-
require 'legion/extensions/scheduler/version'
-require 'legion/extensions'
module Legion
module Extensions
module Scheduler
- extend Legion::Extensions::Core
+ extend Legion::Extensions::Core if Legion::Extensions.const_defined? :Core
- def data_required?
+ def self.data_required?
true
end
end
end
end