Class: Neo4j::Core::Cypher::Limit

Inherits:
Expression show all
Defined in:
lib/neo4j-core/cypher/cypher.rb

Instance Attribute Summary

Attributes inherited from Expression

#clause, #expressions, #separator

Instance Method Summary collapse

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_sObject



452
453
454
# File 'lib/neo4j-core/cypher/cypher.rb', line 452

def to_s
  @value
end