class Neoon::Cypher::InstanceQuery

Attributes

args[R]
id[R]
label[R]

Public Class Methods

new(object) click to toggle source
# File lib/neoon/cypher/instance_query.rb, line 7
def initialize(object)
  @id     = object.id
  @label  = object.class.name
  @args   = object.neo_node_properties.merge(:_id => id)
end

Protected Instance Methods

cypherable(query) click to toggle source
# File lib/neoon/cypher/instance_query.rb, line 17
def cypherable(query)
  Cypher::Handler.new(query)
end