Class: On::Callback
- Inherits:
-
Struct
- Object
- Struct
- On::Callback
- Defined in:
- lib/on.rb
Overview
Represents a callback called with its name
and args
.
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args
57 58 59 |
# File 'lib/on.rb', line 57 def args @args end |
#name ⇒ Object
Returns the value of attribute name
57 58 59 |
# File 'lib/on.rb', line 57 def name @name end |