Class: ProtoPharm::RSpec::ActionStubProxy::Expectation
- Inherits:
-
Object
- Object
- ProtoPharm::RSpec::ActionStubProxy::Expectation
- Defined in:
- lib/proto_pharm/rspec/action_stub_proxy.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#kwargs ⇒ Object
readonly
Returns the value of attribute kwargs.
-
#method ⇒ Object
readonly
Returns the value of attribute method.
Instance Method Summary collapse
-
#initialize(method, args, kwargs) ⇒ Expectation
constructor
A new instance of Expectation.
Constructor Details
#initialize(method, args, kwargs) ⇒ Expectation
Returns a new instance of Expectation.
50 51 52 53 54 |
# File 'lib/proto_pharm/rspec/action_stub_proxy.rb', line 50 def initialize(method, args, kwargs) @method = method @args = args @kwargs = kwargs end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
48 49 50 |
# File 'lib/proto_pharm/rspec/action_stub_proxy.rb', line 48 def args @args end |
#kwargs ⇒ Object (readonly)
Returns the value of attribute kwargs.
48 49 50 |
# File 'lib/proto_pharm/rspec/action_stub_proxy.rb', line 48 def kwargs @kwargs end |
#method ⇒ Object (readonly)
Returns the value of attribute method.
48 49 50 |
# File 'lib/proto_pharm/rspec/action_stub_proxy.rb', line 48 def method @method end |