class Punchout::Puncher::Matchable
Attributes
thing[R]
Public Class Methods
new(matcher, thing)
click to toggle source
# File lib/punchout/puncher/matchable.rb, line 4 def initialize(matcher, thing) @matcher = matcher @thing = thing end
Public Instance Methods
conflicts?(other)
click to toggle source
# File lib/punchout/puncher/matchable.rb, line 15 def conflicts?(other) false end
matches?(subject)
click to toggle source
# File lib/punchout/puncher/matchable.rb, line 11 def matches?(subject) @matcher.matches?(subject) end