Sha256: d88e9c7ec35c35290b6e16337fddb4d217f3401b7a355c6f217c5aef7005f3e5
Contents?: true
Size: 454 Bytes
Versions: 1
Compression:
Stored size: 454 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
volay-2.0.0 | lib/volay/widget/events.rb |