Class: Fakes::ArgSet
- Inherits:
-
Object
- Object
- Fakes::ArgSet
- Includes:
- ArgBehaviour
- Defined in:
- lib/fakes/arg_set.rb
Instance Attribute Summary
Attributes included from ArgBehaviour
#arg_matcher, #callback_block, #return_value, #times_called
Instance Method Summary collapse
-
#initialize(args) ⇒ ArgSet
constructor
A new instance of ArgSet.
Methods included from ArgBehaviour
#and_return, #capture_args, #initialize_matcher_using, #matches?, #process, #run, #throws, #was_called_with?
Constructor Details
#initialize(args) ⇒ ArgSet
Returns a new instance of ArgSet.
5 6 7 8 |
# File 'lib/fakes/arg_set.rb', line 5 def initialize(args) initialize_matcher_using(args) @times_called = 0 end |