lib/grumlin/order.rb in grumlin-0.10.1 vs lib/grumlin/order.rb in grumlin-0.11.0
- old
+ new
@@ -7,10 +7,10 @@
%i[asc desc].each do |step|
define_method step do
name = "@#{step}"
return instance_variable_get(name) if instance_variable_defined?(name)
- instance_variable_set(name, TypedValue.new("Order", step))
+ instance_variable_set(name, TypedValue.new(type: "Order", value: step))
end
end
end
end
end