Class: Arel::Nodes::VariableSet
- Defined in:
- lib/arel/extensions/variable_set.rb
Overview
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#local ⇒ Object
readonly
Returns the value of attribute local.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type, args, name, local) ⇒ VariableSet
constructor
A new instance of VariableSet.
Methods inherited from Node
Constructor Details
#initialize(type, args, name, local) ⇒ VariableSet
Returns a new instance of VariableSet.
13 14 15 16 17 18 |
# File 'lib/arel/extensions/variable_set.rb', line 13 def initialize(type, args, name, local) @type = type @args = args @name = name @local = local end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
9 10 11 |
# File 'lib/arel/extensions/variable_set.rb', line 9 def args @args end |
#local ⇒ Object (readonly)
Returns the value of attribute local.
11 12 13 |
# File 'lib/arel/extensions/variable_set.rb', line 11 def local @local end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
10 11 12 |
# File 'lib/arel/extensions/variable_set.rb', line 10 def name @name end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
8 9 10 |
# File 'lib/arel/extensions/variable_set.rb', line 8 def type @type end |