Module RSpec::Matchers::Extensions::InstanceEvalWithArgs
In: lib/rspec/matchers/extensions/instance_eval_with_args.rb

Methods

Public Instance methods

based on Bounded Spec InstanceExec (Mauricio Fernandez) eigenclass.org/hiki/bounded+space+instance_exec

  • uses singleton_class instead of global InstanceExecHelper module
  • this keeps it scoped to classes/modules that include this module
  • only necessary for ruby 1.8.6

[Validate]