Class: Wamp::Type::Result
- Inherits:
-
Object
- Object
- Wamp::Type::Result
- Defined in:
- lib/wamp/type/result.rb
Overview
Result Type
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#details ⇒ Object
readonly
Returns the value of attribute details.
-
#kwargs ⇒ Object
readonly
Returns the value of attribute kwargs.
Instance Method Summary collapse
-
#initialize(args: [], kwargs: {}, details: {}) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(args: [], kwargs: {}, details: {}) ⇒ Result
Returns a new instance of Result.
9 10 11 12 13 |
# File 'lib/wamp/type/result.rb', line 9 def initialize(args: [], kwargs: {}, details: {}) @args = args @kwargs = kwargs @details = details end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
7 8 9 |
# File 'lib/wamp/type/result.rb', line 7 def args @args end |
#details ⇒ Object (readonly)
Returns the value of attribute details.
7 8 9 |
# File 'lib/wamp/type/result.rb', line 7 def details @details end |
#kwargs ⇒ Object (readonly)
Returns the value of attribute kwargs.
7 8 9 |
# File 'lib/wamp/type/result.rb', line 7 def kwargs @kwargs end |