Sha256: 3fc21335a5d7afdcd0583f963bb88dc086ff4e624ada9e63faa637dc9ec69de3

Contents?: true

Size: 525 Bytes

Versions: 1

Compression:

Stored size: 525 Bytes

Contents

# Namespace for the Fix framework.
module Fix
  # Override Fix's On class.
  class On
    # @param another_front_object [#object_id]  Override the front object.
    # @param specs                [Proc]        A set of specs.
    #
    # @return [Array] List of results.
    def describe(another_front_object, *, &specs)
      o = On.new(another_front_object,
                 results,
                 challenges,
                 helpers.dup,
                 configuration)

      o.instance_eval(&specs)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
r_spec-0.1.1 lib/fix/describe.rb