Flowdock
method

__declare_double

Importance_0
RSpec latest stable (1.3.1) - 0 notes - Class: Spec::Mocks::ExampleMethods
__declare_double(declared_as, *args) public

No documentation

This method has no description. You can help the RSpec community by adding new notes.

Hide source
# File lib/spec/mocks/example_methods.rb, line 37
      def __declare_double(declared_as, *args) # :nodoc:
        args << {} unless Hash === args.last
        args.last[:__declared_as] = declared_as
        Spec::Mocks::Mock.new(*args)
      end
Register or log in to add new notes.