Class: Arel::Nodes::Unary

Inherits:
Object
  • Object
show all
Includes:
AliasPredication, Expressions, Math, ArelExtensions::Attributes, ArelExtensions::Comparators, ArelExtensions::Math, ArelExtensions::MathFunctions, ArelExtensions::Predications
Defined in:
lib/arel_extensions.rb,
lib/arel_extensions.rb

Instance Method Summary collapse

Methods included from ArelExtensions::Predications

#cast, #convert_to_node, #imatches, #in, #matches, #not_in, #when

Methods included from ArelExtensions::Comparators

#!~, #<, #<=, #=~, #>, #>=

Methods included from ArelExtensions::MathFunctions

#*, #/, #abs, #ceil, #floor, #format_number, #log10, #pow, #power, #round, #std, #sum, #variance

Methods included from ArelExtensions::Attributes

#!=, #==

Methods included from ArelExtensions::StringFunctions

#&, #[], #ai_collate, #ai_imatches, #ai_matches, #blank, #byte_length, #char_length, #ci_collate, #collate, #concat, #downcase, #edit_distance, #group_concat, #idoes_not_match, #idoes_not_match_all, #idoes_not_match_any, #imatches, #imatches_all, #imatches_any, #length, #levenshtein_distance, #locate, #ltrim, #md5, #not_blank, #regexp_replace, #repeat, #replace, #rtrim, #smatches, #soundex, #substring, #trim, #upcase

Methods included from ArelExtensions::NullFunctions

#coalesce, #coalesce_blank, #if_present, #is_not_null, #is_null

Methods included from ArelExtensions::DateDuration

#day, #format, #format_date, #hour, #minute, #month, #second, #wday, #week, #year

Methods included from ArelExtensions::Math

#+, #-

Methods included from ArelExtensions::Aliases

#xas

Instance Method Details

#eql?(other) ⇒ Boolean

Returns:

  • (Boolean)


227
228
229
# File 'lib/arel_extensions.rb', line 227

def eql? other
  hash == other.hash
end