Sha256: b139450dbfb5896efbc347f69b80650ac0be38c5ef79ab04433b1fdfcc693e83
Contents?: true
Size: 634 Bytes
Versions: 39
Compression:
Stored size: 634 Bytes
Contents
# frozen_string_literal: true module Arel # :nodoc: all module Nodes class BindParam < Node attr_reader :value def initialize(value) @value = value super() end def hash [self.class, self.value].hash end def eql?(other) other.is_a?(BindParam) && value == other.value end alias :== :eql? def nil? value.nil? end def infinite? value.respond_to?(:infinite?) && value.infinite? end def unboundable? value.respond_to?(:unboundable?) && value.unboundable? end end end end
Version data entries
39 entries across 39 versions & 4 rubygems