class CypherBuilder::Limit
Public Class Methods
new(value)
click to toggle source
# File lib/cypher_builder/limit.rb, line 8 def initialize(value) @value = value end
Public Instance Methods
as_cypher(_)
click to toggle source
# File lib/cypher_builder/limit.rb, line 12 def as_cypher(_) sprintf('LIMIT %d', @value.to_i) end