class Filigree::WildcardPattern

A pattern that matches any object

Public Instance Methods

match?(_, _) click to toggle source

Return true for any object and don't create any bindings.

@return [true]

# File lib/filigree/match.rb, line 324
def match?(_, _)
        true
end
weight() click to toggle source
# File lib/filigree/match.rb, line 328
def weight
        4
end