Sha256: a5c86e6f1fd05a59b59c91d8617a878947193718bb7e62973f1854ecb491fc95
Contents?: true
Size: 753 Bytes
Versions: 3
Compression:
Stored size: 753 Bytes
Contents
module Vedeu # Refreshes the given named group of interfaces. # class RefreshGroup include Vedeu::Common # @param name [String] # @return [void] def self.by_name(name) new(name).by_name end # @param name [String] # @return [Vedeu::RefreshGroup] def initialize(name) @name = name end # @return [void] def by_name unless present?(name) fail Vedeu::MissingRequired, 'Cannot refresh group with an empty group name.' end Vedeu.groups.by_name(name).by_zindex.each do |name| Vedeu::Refresh.by_name(name) end end protected # @!attribute [r] name # @return [String] attr_reader :name end # RefreshGroup end # Vedeu
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.5.10 | lib/vedeu/output/refresh_group.rb |
vedeu-0.5.9 | lib/vedeu/output/refresh_group.rb |
vedeu-0.5.8 | lib/vedeu/output/refresh_group.rb |