Class: Atomy::Pattern::Wildcard
- Inherits:
-
Atomy::Pattern
- Object
- Atomy::Pattern
- Atomy::Pattern::Wildcard
- Defined in:
- lib/atomy/pattern/wildcard.rb
Instance Attribute Summary
Attributes inherited from Atomy::Pattern
Instance Method Summary collapse
Methods inherited from Atomy::Pattern
Instance Method Details
#inline_matches?(gen) ⇒ Boolean
9 10 11 12 |
# File 'lib/atomy/pattern/wildcard.rb', line 9 def inline_matches?(gen) gen.pop gen.push_true end |
#matches?(_) ⇒ Boolean
5 6 7 |
# File 'lib/atomy/pattern/wildcard.rb', line 5 def matches?(_) true end |