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