Sha256: 00518ae5d6d33f5a50cf95a4e1e77cbd625ed519d56c722b0336dd96c76239db
Contents?: true
Size: 794 Bytes
Versions: 3
Compression:
Stored size: 794 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 # :nocov: # See {file:docs/events/refresh.md} Vedeu.bind(:_refresh_) { Vedeu::Output::Refresh.all if Vedeu.ready? } # :nocov: end # Vedeu
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.8.0 | lib/vedeu/output/refresh.rb |
vedeu-0.7.4 | lib/vedeu/output/refresh.rb |
vedeu-0.7.3 | lib/vedeu/output/refresh.rb |