Class: NeoScout::Constraints::Constraint
- Inherits:
-
Object
- Object
- NeoScout::Constraints::Constraint
- Defined in:
- lib/neoscout/constraints.rb
Direct Known Subclasses
Instance Method Summary collapse
- #satisfied_by?(typer, obj) ⇒ Boolean
- #satisfied_by_edge?(typer, edge) ⇒ Boolean
- #satisfied_by_node?(typer, node) ⇒ Boolean
Instance Method Details
#satisfied_by?(typer, obj) ⇒ Boolean
9 |
# File 'lib/neoscout/constraints.rb', line 9 def satisfied_by?(typer, obj) ; raise NotImplementedError end |
#satisfied_by_edge?(typer, edge) ⇒ Boolean
7 |
# File 'lib/neoscout/constraints.rb', line 7 def satisfied_by_edge?(typer, edge) ; satisfied_by?(typer, edge) end |
#satisfied_by_node?(typer, node) ⇒ Boolean
6 |
# File 'lib/neoscout/constraints.rb', line 6 def satisfied_by_node?(typer, node) ; satisfied_by?(typer, node) end |