Sha256: fdc965ca2e1b1ed2fa33eae71f70b7537d44a5e988b46d1bb62ae6f5a726d129
Contents?: true
Size: 763 Bytes
Versions: 1
Compression:
Stored size: 763 Bytes
Contents
module Vedeu module Output # @see Vedeu::Bindings::System#refresh! class Refresh # @see #all def self.all new.all end # Return a new instance of Vedeu::Output::Refresh. # # @return [Vedeu::Output::Refresh] def initialize; end # Refresh all registered interfaces. # # @return [Array<Vedeu::Interfaces::Interface>] def all Vedeu.timer('Refreshing all'.freeze) do Vedeu.interfaces.zindexed.each do |interface| Vedeu.trigger(:_refresh_view_, interface.name) end end end end # Refresh end # Output # See {file:docs/events/refresh.md#\_refresh_} Vedeu.bind(:_refresh_) { Vedeu::Output::Refresh.all } end # Vedeu
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.6.30 | lib/vedeu/output/refresh/refresh.rb |