Class: Oedipus::Comparison::GTE

Inherits:
Oedipus::Comparison show all
Defined in:
lib/oedipus/comparison/gte.rb

Overview

Greater than or equal comparison of v.

Instance Attribute Summary

Attributes inherited from Oedipus::Comparison

#v

Instance Method Summary collapse

Methods inherited from Oedipus::Comparison

#==, #initialize, of

Constructor Details

This class inherits a constructor from Oedipus::Comparison

Instance Method Details

#inverseObject



17
18
19
# File 'lib/oedipus/comparison/gte.rb', line 17

def inverse
  Comparison::LT.new(v)
end

#to_sqlObject



13
14
15
# File 'lib/oedipus/comparison/gte.rb', line 13

def to_sql
  [">= ?", v]
end