lib/ransack/nodes/value.rb in ransack-3.2.1 vs lib/ransack/nodes/value.rb in ransack-4.0.0
- old
+ new
@@ -1,9 +1,9 @@
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