Class: Vos::Box

Inherits:
Object
  • Object
show all
Includes:
Helpers::Ubuntu
Defined in:
lib/cluster_management/integration/vos.rb

Instance Method Summary collapse

Instance Method Details

#apply_once(key, &block) ⇒ Object



4
5
6
7
8
9
# File 'lib/cluster_management/integration/vos.rb', line 4

def apply_once key, &block
  unless has_mark? key
    block.call self
    mark! key
  end
end