Class: Neo4j::Core::Cypher::Limit
- Inherits:
-
Expression
- Object
- Expression
- Neo4j::Core::Cypher::Limit
- Defined in:
- lib/neo4j-core/cypher/cypher.rb
Instance Attribute Summary
Attributes inherited from Expression
#clause, #expressions, #separator
Instance Method Summary collapse
-
#initialize(expressions, value) ⇒ Limit
constructor
A new instance of Limit.
- #to_s ⇒ Object
Methods inherited from Expression
#insert_last, #prefix, #prefixes, #valid?
Constructor Details
#initialize(expressions, value) ⇒ Limit
Returns a new instance of Limit.
447 448 449 450 |
# File 'lib/neo4j-core/cypher/cypher.rb', line 447 def initialize(expressions, value) super(expressions, :limit) @value = value end |
Instance Method Details
#to_s ⇒ Object
452 453 454 |
# File 'lib/neo4j-core/cypher/cypher.rb', line 452 def to_s @value end |