Class: Wamp::Type::Event
- Inherits:
-
Object
- Object
- Wamp::Type::Event
- Defined in:
- lib/wamp/type/event.rb
Overview
Event 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: {}) ⇒ Event
constructor
A new instance of Event.
Constructor Details
#initialize(args: [], kwargs: {}, details: {}) ⇒ Event
Returns a new instance of Event.
9 10 11 12 13 |
# File 'lib/wamp/type/event.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/event.rb', line 7 def args @args end |
#details ⇒ Object (readonly)
Returns the value of attribute details.
7 8 9 |
# File 'lib/wamp/type/event.rb', line 7 def details @details end |
#kwargs ⇒ Object (readonly)
Returns the value of attribute kwargs.
7 8 9 |
# File 'lib/wamp/type/event.rb', line 7 def kwargs @kwargs end |