Class: Filigree::WildcardPattern
- Inherits:
-
BasicPattern
- Object
- BasicPattern
- Filigree::WildcardPattern
- Includes:
- Singleton
- Defined in:
- lib/filigree/match.rb
Overview
A pattern that matches any object
Instance Method Summary collapse
-
#match?(_, _) ⇒ true
Return true for any object and don’t create any bindings.
Methods inherited from BasicPattern
Methods included from AbstractClass
#abstract_method, extended, #install_icvars, #new
Instance Method Details
#match?(_, _) ⇒ true
Return true for any object and don’t create any bindings.
311 312 313 |
# File 'lib/filigree/match.rb', line 311 def match?(_, _) true end |