Class: Vedeu::Output::Refresh
- Inherits:
-
Object
- Object
- Vedeu::Output::Refresh
- Defined in:
- lib/vedeu/output/refresh/refresh.rb
Overview
Class Method Summary collapse
Instance Method Summary collapse
-
#all ⇒ Array<Vedeu::Interfaces::Interface>
Refresh all registered interfaces.
-
#initialize ⇒ Vedeu::Output::Refresh
constructor
Return a new instance of Vedeu::Output::Refresh.
Constructor Details
#initialize ⇒ Vedeu::Output::Refresh
Return a new instance of Vedeu::Output::Refresh.
16 |
# File 'lib/vedeu/output/refresh/refresh.rb', line 16 def initialize; end |
Class Method Details
.all ⇒ Object
9 10 11 |
# File 'lib/vedeu/output/refresh/refresh.rb', line 9 def self.all new.all end |
Instance Method Details
#all ⇒ Array<Vedeu::Interfaces::Interface>
Refresh all registered interfaces.
21 22 23 24 25 26 27 |
# File 'lib/vedeu/output/refresh/refresh.rb', line 21 def all Vedeu.timer('Refreshing all'.freeze) do Vedeu.interfaces.zindexed.each do |interface| Vedeu.trigger(:_refresh_view_, interface.name) end end end |