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.
248 249 250 |
# File 'lib/egison/core.rb', line 248 def initialize() super() end |
Instance Method Details
#match(tgt, bindings) ⇒ Object
252 253 254 |
# File 'lib/egison/core.rb', line 252 def match(tgt, bindings) [[[], []]] end |