class GrooveDl::Widgets::Events

Search section

Attributes

app[R]
client[R]

Public Class Methods

new(client, app) click to toggle source

Initialize events for signals

# File lib/groove-dl/widgets/events.rb, line 11
def initialize(client, app)
  @client = client
  @app = app

  methods.each do |name|
    next unless name.match(/^on_/)
    @app.signals_list[name.to_s] = method(name)
  end
end