def its(method, &spec)
      i = It.new(described, (challenges + [Defi.send(method)]), helpers.dup)

      result = i.verify(&spec)

      if configuration.fetch(:verbose, true)
        print result.to_char(configuration.fetch(:color, false))
      end

      results << result
    end
def its(method, &spec)
      i = It.new(described, (challenges + [Defi.send(method)]), helpers.dup)

      result = i.verify(&spec)

      if configuration.fetch(:verbose, true)
        print result.to_char(configuration.fetch(:color, false))
      end

      results << result
    end
Add its method to the DSL.

 @api public

 @example Its absolute value must equal 42
   its(:abs) { MUST equal 42 }

 @param method [Symbol] The identifier of a method.
 @param spec   [Proc]   A spec to compare against the computed value.

 @return [Array] List of results.

 rubocop:disable AbcSize