Sha256: ac9913f0e997188fc5322bdee006b1956ee63bf17f4149f9b59c7935a6f02d1f
Contents?: true
Size: 629 Bytes
Versions: 2
Compression:
Stored size: 629 Bytes
Contents
module Vedeu # @see Vedeu::Bindings::System#refresh! class Refresh # Refresh all registered interfaces. # # @return [Array<Vedeu::Models::Interface>] def self.all new.all end # Return a new instance of Vedeu::Refresh. # # @return [Vedeu::Refresh] def initialize; end # Refresh all registered interfaces. # # @return [Array<Vedeu::Models::Interface>] def all Vedeu.timer('Refreshing all') do Vedeu.interfaces.zindexed.each do |interface| Vedeu.trigger(:_refresh_, interface.name) end end end end # Refresh end # Vedeu
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.6.10 | lib/vedeu/refresh/refresh.rb |
vedeu-0.6.9 | lib/vedeu/refresh/refresh.rb |