Sha256: 2ed5bc1153cb92de1572462d9f8845cf654b1bae2e14a927d21a0f39f766c949
Contents?: true
Size: 451 Bytes
Versions: 3
Compression:
Stored size: 451 Bytes
Contents
# -*- coding: utf-8 -*- module GrooveDl # Widgets components module Widgets # Search section class Events attr_reader :client, :app ## # Initialize events for signals # 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 end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
groove-dl-0.4.0 | lib/groove-dl/widgets/events.rb |
groove-dl-0.3.1 | lib/groove-dl/widgets/events.rb |
groove-dl-0.3.0 | lib/groove-dl/widgets/events.rb |