method

__declare_double

Importance_0
1.3.1 - Show latest stable - 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.