Class: Arel::Nodes::RandomOrdering

Inherits:
Node
  • Object
show all
Defined in:
lib/arel/nodes/random.rb

Instance Method Summary collapse

Instance Method Details

#eql?(other) ⇒ Boolean Also known as: ==

Returns:

  • (Boolean)


11
12
13
# File 'lib/arel/nodes/random.rb', line 11

def eql? other
  self.class == other.class
end

#hashObject



7
8
9
# File 'lib/arel/nodes/random.rb', line 7

def hash
  self.class.hash
end