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 7
def initialize(value)
  @value = value
  super()
end

Public Instance Methods

==(other)
Alias for: eql?
eql?(other) click to toggle source
# File lib/arel/nodes/bind_param.rb, line 16
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 12
def hash
  [self.class, self.value].hash
end
nil?() click to toggle source
# File lib/arel/nodes/bind_param.rb, line 22
def nil?
  value.nil?
end