Class: ArelExtensions::Nodes::JsonSet
Constant Summary
Constants inherited from JsonNode
ArelExtensions::Nodes::JsonNode::RETURN_TYPE
Constants inherited from Function
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
-
#value ⇒ Object
Returns the value of attribute value.
Attributes inherited from JsonNode
Instance Method Summary collapse
-
#initialize(json, key, value) ⇒ JsonSet
constructor
A new instance of JsonSet.
Methods inherited from JsonNode
#get, #group, #hash, #merge, #set
Methods inherited from Function
#!=, #==, #as, #convert_to_date_node, #convert_to_datetime_node, #convert_to_node, #convert_to_number, #convert_to_string_node, #expr, #left, #return_type, #right, #type_of_attribute
Methods included from Predications
#cast, #convert_to_node, #imatches, #in, #matches, #not_in, #when
Constructor Details
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key.
96 97 98 |
# File 'lib/arel_extensions/nodes/json.rb', line 96 def key @key end |
#value ⇒ Object
Returns the value of attribute value.
96 97 98 |
# File 'lib/arel_extensions/nodes/json.rb', line 96 def value @value end |