Sha256: 2963405c8d25ba7672bdf4fcfd9d552bda54e4e7acf873de26ac7778bd0aa465
Contents?: true
Size: 455 Bytes
Versions: 2
Compression:
Stored size: 455 Bytes
Contents
# frozen_string_literal: true # 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 =~ /^on_/ @app.signals_list[name.to_s] = method(name) end init if respond_to?('init') end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
volay-2.2.0 | lib/volay/widget/events.rb |
volay-2.1.0 | lib/volay/widget/events.rb |