Class: LitleOnline::CaptureListener
- Inherits:
-
DefaultLitleListener
- Object
- DefaultLitleListener
- LitleOnline::CaptureListener
- Defined in:
- lib/LitleListeners.rb
Instance Method Summary collapse
Methods inherited from DefaultLitleListener
Constructor Details
This class inherits a constructor from LitleOnline::DefaultLitleListener
Instance Method Details
#apply(duck) ⇒ Object
54 55 56 57 58 |
# File 'lib/LitleListeners.rb', line 54 def apply(duck) if(duck["type"] == "captureResponse") then @action.call(duck) end end |