Module: Punchout::Punchable
- Defined in:
- lib/punchout.rb
Instance Attribute Summary collapse
-
#matcher ⇒ Object
Returns the value of attribute matcher.
Instance Method Summary collapse
Instance Attribute Details
#matcher ⇒ Object
Returns the value of attribute matcher.
10 11 12 |
# File 'lib/punchout.rb', line 10 def matcher @matcher end |
Instance Method Details
#punch(obj) ⇒ Object
16 17 18 |
# File 'lib/punchout.rb', line 16 def punch(obj) puncher.punch(obj) end |
#punchable? ⇒ Boolean
6 7 8 |
# File 'lib/punchout.rb', line 6 def punchable? true end |