Class: ARMS::ShortcutInvocation
- Inherits:
-
Object
- Object
- ARMS::ShortcutInvocation
- Defined in:
- lib/arms.rb
Overview
the object passed to a coder shortcut proc, which indicates the model and attribute name and passes optional arguments used to instantiate the coder.
Instance Attribute Summary collapse
-
#args ⇒ Object
arguments passed from the shortcut invocation to the coder shortcut proc.
-
#attr_name ⇒ Object
the name of the attribute being serialized.
-
#model ⇒ Object
the model on which an attribute is being serialized.
Instance Attribute Details
#args ⇒ Object
arguments passed from the shortcut invocation to the coder shortcut proc
29 30 31 |
# File 'lib/arms.rb', line 29 def args @args end |
#attr_name ⇒ Object
the name of the attribute being serialized
27 28 29 |
# File 'lib/arms.rb', line 27 def attr_name @attr_name end |
#model ⇒ Object
the model on which an attribute is being serialized
25 26 27 |
# File 'lib/arms.rb', line 25 def model @model end |