Sha256: 57cea7c14b0c03e3830c15b70d0c79140a04420c554499b8246f314d9e17551c
Contents?: true
Size: 460 Bytes
Versions: 5
Compression:
Stored size: 460 Bytes
Contents
# frozen_string_literal: true module Arel module Nodes class Extract < Arel::Nodes::Unary include Arel::AliasPredication include Arel::Predications attr_accessor :field def initialize expr, field super(expr) @field = field end def hash super ^ @field.hash end def eql? other super && self.field == other.field end alias :== :eql? end end end
Version data entries
5 entries across 5 versions & 3 rubygems