Sha256: e7f101d73a34659992f2a7cbe4b3902848f96657d8e3848cd785272cf3e5b44d
Contents?: true
Size: 791 Bytes
Versions: 1
Compression:
Stored size: 791 Bytes
Contents
module Mutant class Mutator # Namespace for utility mutators class Util < self # Run ulitity mutator # # @param [Object] object # @param [Object] parent # # @return [Enumerator<Object>] # if no block given # # @return [self] # otherwise # # @api private # def self.each(object, parent, &block) return to_enum(__method__, object, parent) unless block_given? new(object, parent, block) self end private # Test if mutation is new # # @param [Object] generated # # @return [Boolean] # # @api private # def new?(generated) input != generated end end # Util end # Mutator end # Mutant
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mutant-0.5.22 | lib/mutant/mutator/util.rb |