lib/legion/extensions/conditioner.rb in lex-conditioner-0.1.0 vs lib/legion/extensions/conditioner.rb in lex-conditioner-0.2.0
- old
+ new
@@ -1,37 +1,10 @@
require 'legion/extensions/conditioner/version'
require 'legion/extensions'
-require 'legion/extensions/default'
-require 'legion/extensions/conditioner/actors/condition'
module Legion
module Extensions
module Conditioner
- extend Legion::Extensions::Default
- attr_reader :actors, :requirements, :default_settings, :autobuild
- def self.klass
- Legion::Extensions::Conditioner
- end
-
- def self.path
- 'legion/extensions/conditioner/'
- end
-
- def self.actors
- [{
- path: path + 'actors/condition',
- class: klass::Actor::Condition,
- group_name: 'conditioner'
- }]
- end
-
- def self.lex_methods
- [{
- namespace: 'legion::extensions::conditioner::runners::condition',
- class_methods: {
- check: {}
- }
- }]
- end
+ extend Legion::Extensions::Core
end
end
end