class Arel::Nodes::BindParam
Attributes
value[RW]
Public Class Methods
new(value)
click to toggle source
Calls superclass method
# File lib/arel/nodes/bind_param.rb, line 6 def initialize(value) @value = value super() end
Public Instance Methods
eql?(other)
click to toggle source
# File lib/arel/nodes/bind_param.rb, line 15 def eql?(other) other.is_a?(BindParam) && value == other.value end
Also aliased as: ==
hash()
click to toggle source
# File lib/arel/nodes/bind_param.rb, line 11 def hash [self.class, self.value].hash end
nil?()
click to toggle source
# File lib/arel/nodes/bind_param.rb, line 21 def nil? value.nil? end