Class: Vedeu::Output::Refresh Private

Inherits:
Object
  • Object
show all
Defined in:
lib/vedeu/output/refresh.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

See Also:

  • Bindings::System#refresh!

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeVedeu::Output::Refresh

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Return a new instance of Vedeu::Output::Refresh.



21
# File 'lib/vedeu/output/refresh.rb', line 21

def initialize; end

Class Method Details

.allArray<String|Symbol>

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Array<String|Symbol>)


14
15
16
# File 'lib/vedeu/output/refresh.rb', line 14

def self.all
  new.all
end

Instance Method Details

#allArray<String|Symbol>

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Refresh all registered interfaces.

Returns:

  • (Array<String|Symbol>)


26
27
28
29
30
31
32
# File 'lib/vedeu/output/refresh.rb', line 26

def all
  Vedeu.timer('Refreshing all') do
    Vedeu.interfaces.zindexed.each do |name|
      Vedeu.trigger(:_refresh_view_, name)
    end
  end
end