Class: Neo4j::RSpec::Compat::Neo4jrb6

Inherits:
Object
  • Object
show all
Defined in:
lib/neo4j/rspec/compat.rb

Instance Method Summary collapse

Instance Method Details

#property_constraint?(attr, type) ⇒ Boolean

Returns:

  • (Boolean)


18
19
20
# File 'lib/neo4j/rspec/compat.rb', line 18

def property_constraint?(attr, type)
  attr[:constraint] == type
end

#property_nestingObject



14
15
16
# File 'lib/neo4j/rspec/compat.rb', line 14

def property_nesting
  ActiveAttr::Typecasting
end