Class: PatternMatch::Wildcard
- Inherits:
-
PatternElement
- Object
- Pattern
- PatternElement
- PatternMatch::Wildcard
- Defined in:
- lib/egison/core.rb
Instance Attribute Summary
Attributes inherited from Pattern
Instance Method Summary collapse
-
#initialize ⇒ Wildcard
constructor
A new instance of Wildcard.
- #match(tgt, bindings) ⇒ Object
Methods inherited from Pattern
Constructor Details
#initialize ⇒ Wildcard
Returns a new instance of Wildcard.
223 224 225 |
# File 'lib/egison/core.rb', line 223 def initialize() super() end |
Instance Method Details
#match(tgt, bindings) ⇒ Object
227 228 229 |
# File 'lib/egison/core.rb', line 227 def match(tgt, bindings) [[[], []]] end |