Class: SPQR::EventArgMeta
- Inherits:
-
Struct
- Object
- Struct
- SPQR::EventArgMeta
- Defined in:
- lib/spqr/event.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#name ⇒ Object
Returns the value of attribute name.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(*a) ⇒ EventArgMeta
constructor
A new instance of EventArgMeta.
Constructor Details
#initialize(*a) ⇒ EventArgMeta
Returns a new instance of EventArgMeta.
25 26 27 28 |
# File 'lib/spqr/event.rb', line 25 def initialize(*a) super *a self. = ((!self. && {}) || self..dup) end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description
24 25 26 |
# File 'lib/spqr/event.rb', line 24 def description @description end |
#kind ⇒ Object
Returns the value of attribute kind
24 25 26 |
# File 'lib/spqr/event.rb', line 24 def kind @kind end |
#name ⇒ Object
Returns the value of attribute name
24 25 26 |
# File 'lib/spqr/event.rb', line 24 def name @name end |
#options ⇒ Object
Returns the value of attribute options
24 25 26 |
# File 'lib/spqr/event.rb', line 24 def @options end |