Class: Punchout::Matcher
- Inherits:
-
Object
- Object
- Punchout::Matcher
- Defined in:
- lib/punchout/matcher.rb,
lib/punchout/matcher/class.rb,
lib/punchout/matcher/equal.rb,
lib/punchout/matcher/progeny.rb,
lib/punchout/matcher/ancestry.rb
Defined Under Namespace
Classes: Ancestry, Equal, Klass, Progeny
Instance Method Summary collapse
- #conflicts?(other) ⇒ Boolean
-
#initialize(subject) ⇒ Matcher
constructor
A new instance of Matcher.
- #punches(thing) ⇒ Object
Constructor Details
#initialize(subject) ⇒ Matcher
Returns a new instance of Matcher.
5 6 7 |
# File 'lib/punchout/matcher.rb', line 5 def initialize(subject) @subject = subject end |