class ArelExtensions::Nodes::JsonGroup
Attributes
as_array[RW]
orders[RW]
Public Class Methods
new(json, as_array = true, orders = nil)
click to toggle source
# File lib/arel_extensions/nodes/json.rb, line 88 def initialize json, as_array = true, orders = nil @dict = as_array ? json : json.dict @as_array = as_array if orders @orders = Array(orders) end end