lib/mutant/subject.rb in mutant-0.11.7 vs lib/mutant/subject.rb in mutant-0.11.8

- old
+ new

@@ -2,11 +2,11 @@ module Mutant # Subject of a mutation class Subject include AbstractType, Adamantium, Enumerable - include Anima.new(:context, :node) + include Anima.new(:config, :context, :node) # Mutations for this subject # # @return [Enumerable<Mutation>] # @return [undefined] @@ -16,9 +16,13 @@ Mutation::Evil.new(self, wrap_node(mutant)) end ) end memoize :mutations + + def inline_disabled? + config.inline_disable + end # Source path # # @return [Pathname] def source_path