module PatternMatch::AttributeMatcher

Public Class Methods

included(klass) click to toggle source
# File lib/pattern-match/experimental.rb, line 66
def self.included(klass)
  class << klass
    def pattern_matcher(*subpatterns)
      PatternKeywordArgStyleDeconstructor.new(self, :respond_to?, :__send__, *subpatterns)
    end
  end
end