Class: LitleOnline::ForceCaptureListener

Inherits:
DefaultLitleListener show all
Defined in:
lib/LitleListeners.rb

Instance Method Summary collapse

Methods inherited from DefaultLitleListener

#initialize

Constructor Details

This class inherits a constructor from LitleOnline::DefaultLitleListener

Instance Method Details

#apply(duck) ⇒ Object



62
63
64
65
66
# File 'lib/LitleListeners.rb', line 62

def apply(duck)
  if(duck["type"] == "forceCaptureResponse") then
    @action.call(duck)
  end
end