lib/legion/extensions/transformer.rb in lex-transformer-0.1.3 vs lib/legion/extensions/transformer.rb in lex-transformer-0.1.4
- old
+ new
@@ -1,11 +1,14 @@
require 'legion/extensions/transformer/version'
-require 'legion/extensions'
module Legion
module Extensions
module Transformer
- extend Legion::Extensions::Core
+ extend Legion::Extensions::Core if Legion::Extensions.const_defined? :Core
+
+ def self.data_required?
+ true
+ end
def data_required?
true
end
end