Sha256: 5961e83d57e5a9b30de054aaf9605a1aeb0aec7ec806fcb6dd987d2699f3c7d4

Contents?: true

Size: 390 Bytes

Versions: 9

Compression:

Stored size: 390 Bytes

Contents

# Volay module
module Volay
  # Widgets components
  module Widget
    # Events class
    class Events
      attr_reader :app

      ##
      # Initialize signals events
      #
      def initialize(app)
        @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

9 entries across 9 versions & 1 rubygems

Version Path
volay-1.0.0 lib/volay/widget/events.rb
volay-0.7.0 lib/volay/widget/events.rb
volay-0.6.0 lib/volay/widget/events.rb
volay-0.5.0 lib/volay/widget/events.rb
volay-0.4.0 lib/volay/widget/events.rb
volay-0.3.0 lib/volay/widget/events.rb
volay-0.2.0 lib/volay/widget/events.rb
volay-0.1.0 lib/volay/widget/events.rb
volay-0.0.1 lib/volay/widget/events.rb