Class: DevelopWithPassion::Fakes::ArgSet

Inherits:
Object
  • Object
show all
Includes:
ArgBehaviour
Defined in:
lib/developwithpassion_fakes/arg_set.rb

Instance Attribute Summary

Attributes included from ArgBehaviour

#return_value, #times_called

Instance Method Summary collapse

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