Module: RR

Defined in:
lib/rr.rb,
lib/rr/space.rb,
lib/rr/double.rb,
lib/rr/adapters/rspec.rb,
lib/rr/double_matches.rb,
lib/rr/errors/rr_error.rb,
lib/rr/double_injection.rb,
lib/rr/adapters/test_unit.rb,
lib/rr/adapters/rr_methods.rb,
lib/rr/wildcard_matchers/is_a.rb,
lib/rr/hash_with_object_id_key.rb,
lib/rr/errors/double_order_error.rb,
lib/rr/errors/times_called_error.rb,
lib/rr/wildcard_matchers/boolean.rb,
lib/rr/wildcard_matchers/numeric.rb,
lib/rr/wildcard_matchers/satisfy.rb,
lib/rr/wildcard_matchers/anything.rb,
lib/rr/wildcard_matchers/duck_type.rb,
lib/rr/errors/double_not_found_error.rb,
lib/rr/errors/argument_equality_error.rb,
lib/rr/errors/double_definition_error.rb,
lib/rr/times_called_matchers/terminal.rb,
lib/rr/wildcard_matchers/hash_including.rb,
lib/rr/times_called_matchers/non_terminal.rb,
lib/rr/times_called_matchers/proc_matcher.rb,
lib/rr/times_called_matchers/range_matcher.rb,
lib/rr/double_definitions/double_definition.rb,
lib/rr/expectations/any_argument_expectation.rb,
lib/rr/expectations/times_called_expectation.rb,
lib/rr/times_called_matchers/at_most_matcher.rb,
lib/rr/times_called_matchers/integer_matcher.rb,
lib/rr/double_definitions/strategies/strategy.rb,
lib/rr/times_called_matchers/at_least_matcher.rb,
lib/rr/times_called_matchers/any_times_matcher.rb,
lib/rr/expectations/argument_equality_expectation.rb,
lib/rr/times_called_matchers/times_called_matcher.rb,
lib/rr/double_definitions/double_definition_creator.rb,
lib/rr/double_definitions/strategies/scope/instance.rb,
lib/rr/double_definitions/strategies/verification/mock.rb,
lib/rr/double_definitions/strategies/verification/stub.rb,
lib/rr/double_definitions/child_double_definition_creator.rb,
lib/rr/double_definitions/double_definition_creator_proxy.rb,
lib/rr/double_definitions/strategies/implementation/proxy.rb,
lib/rr/double_definitions/strategies/scope/scope_strategy.rb,
lib/rr/double_definitions/strategies/scope/instance_of_class.rb,
lib/rr/double_definitions/strategies/verification/dont_allow.rb,
lib/rr/double_definitions/strategies/implementation/reimplementation.rb,
lib/rr/double_definitions/strategies/verification/verification_strategy.rb,
lib/rr/double_definitions/strategies/implementation/implementation_strategy.rb

Defined Under Namespace

Modules: Adapters, DoubleDefinitions, Errors, Expectations, Extensions, TimesCalledMatchers, WildcardMatchers Classes: Double, DoubleInjection, DoubleMatches, HashWithObjectIdKey, Space

Class Method Summary collapse

Class Method Details

.method_missing(method_name, *args, &block) ⇒ Object



71
72
73
# File 'lib/rr.rb', line 71

def method_missing(method_name, *args, &block)
  RR::Space.instance.__send__(method_name, *args, &block)
end