Method: Bogus::WithArguments#initialize
- Defined in:
- lib/bogus/stubbing/matchers/with_arguments.rb
#initialize(&predicate) ⇒ WithArguments
Returns a new instance of WithArguments.
5 6 7 |
# File 'lib/bogus/stubbing/matchers/with_arguments.rb', line 5 def initialize(&predicate) @predicate = predicate end |