Class: ActiveGraph::Core::Label
- Defined in:
- lib/active_graph/core/label.rb
Instance Attribute Summary
Attributes inherited from Element
Instance Method Summary collapse
Methods inherited from Element
#constraint?, #constraints, #create_constraint, #create_index, #drop_constraint, drop_constraints, #drop_index, #drop_indexes, drop_indexes, #drop_uniqueness_constraint, #index?, #indexes, indexes, #initialize, #uniqueness_constraint?, #uniqueness_constraints
Constructor Details
This class inherits a constructor from ActiveGraph::Core::Element
Instance Method Details
#element_type ⇒ Object
8 9 10 |
# File 'lib/active_graph/core/label.rb', line 8 def element_type 'NODE' end |
#pattern(spec) ⇒ Object
4 5 6 |
# File 'lib/active_graph/core/label.rb', line 4 def pattern(spec) "(#{spec})" end |