Sha256: fd1ae11351d6e6fb251e85851cc7cbc6b455d49dc9e93ad694dc23c7b086dadf
Contents?: true
Size: 515 Bytes
Versions: 120
Compression:
Stored size: 515 Bytes
Contents
# frozen_string_literal: true module ActiveRecord class Relation class FromClause # :nodoc: attr_reader :value, :name def initialize(value, name) @value = value @name = name end def merge(other) self end def empty? value.nil? end def ==(other) self.class == other.class && value == other.value && name == other.name end def self.empty @empty ||= new(nil, nil).freeze end end end end
Version data entries
120 entries across 115 versions & 10 rubygems