Module: Qo::PatternMatchers::Branching
- Included in:
- PatternMatch
- Defined in:
- lib/qo/pattern_matchers/branching.rb
Overview
A module to allow the registration of braches to a pattern matcher.
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
-
.included(base) ⇒ Object
On inclusion, extend the class including this module with branch registration methods.
Class Method Details
.included(base) ⇒ Object
On inclusion, extend the class including this module with branch registration methods.
14 15 16 |
# File 'lib/qo/pattern_matchers/branching.rb', line 14 def self.included(base) base.extend(ClassMethods) end |