Module: Loom::Pattern::ExpandingReference::Matcher::EqualityMatcher
- Defined in:
- lib/loom/pattern/expanding_reference.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.handles_pattern?(p) ⇒ Boolean
82 83 84 |
# File 'lib/loom/pattern/expanding_reference.rb', line 82 def self.handles_pattern?(p) true end |
Instance Method Details
#match?(your_pattern) ⇒ Boolean
86 87 88 |
# File 'lib/loom/pattern/expanding_reference.rb', line 86 def match?(your_pattern) @my_slug == your_pattern end |