class SheepAst::MatchKind
Message struture between components
@api private
Constants
- Any
- Condition
- Default
- Exact
- ExactGroup
- Regex
- RegexCondition
Public Instance Methods
rank()
click to toggle source
# File lib/sheep_ast/messages.rb, line 83 def rank case self when Exact then 0 when ExactGroup then 1 when Regex then 2 when Condition then 3 when RegexCondition then 4 when Any then 5 else application_error end end