Class: Drymm::Shapes::Logic::Rule Abstract
- Defined in:
- lib/drymm/shapes/logic.rb
Overview
This class is abstract.
Abstract node branch class for shapes of Dry::Logic
Direct Known Subclasses
BinaryComposition, Check, Grouping, Predicate, RoutedUnary, Unary
Class Method Summary collapse
- .compiler(registry = compiler_registry()) ⇒ ::Dry::Logic::RuleCompiler
- .compiler_registry ⇒ ::Dry::Logic::Predicates
- .namespace ⇒ Object
Methods included from Branch
auto_tuple, auto_tuple!, coerce_tuple, retuple
Methods inherited from Node
Methods included from ASTMethods
Methods included from JSONMethods
Class Method Details
.compiler(registry = compiler_registry()) ⇒ ::Dry::Logic::RuleCompiler
26 27 28 |
# File 'lib/drymm/shapes/logic.rb', line 26 def self.compiler(registry = compiler_registry()) ::Dry::Logic::RuleCompiler.new(registry) end |
.compiler_registry ⇒ ::Dry::Logic::Predicates
21 22 23 |
# File 'lib/drymm/shapes/logic.rb', line 21 def self.compiler_registry ::Dry::Logic::Predicates end |
.namespace ⇒ Object
16 17 18 |
# File 'lib/drymm/shapes/logic.rb', line 16 def self.namespace Logic end |