Class: Limit
- Inherits:
-
Expression
- Object
- Expression
- Limit
- Defined in:
- lib/eno.rb
Instance Attribute Summary
Attributes inherited from Expression
Instance Method Summary collapse
Methods inherited from Expression
#!=, #!@, #%, #&, #*, #+, #-, #/, #<, #<=, #==, #>, #>=, #as, #desc, #initialize, #inner_join, #join, #not_null?, #null?, #over, quote, #|
Constructor Details
This class inherits a constructor from Expression
Instance Method Details
#to_sql ⇒ Object
364 365 366 |
# File 'lib/eno.rb', line 364 def to_sql "limit %d" % @members[0] end |