lib/ransack/nodes/value.rb in ransack-1.1.0 vs lib/ransack/nodes/value.rb in ransack-1.2.0
- old
+ new
@@ -1,10 +1,10 @@
module Ransack
module Nodes
class Value < Node
attr_accessor :value
- delegate :present?, :blank?, :to => :value
+ delegate :present?, :blank?, to: :value
def initialize(context, value = nil)
super(context)
@value = value
end
@@ -105,6 +105,6 @@
def array_of_arrays?(val)
Array === val && Array === val.first
end
end
end
-end
\ No newline at end of file
+end