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