class ConfigmonkeyCli::Application::ManifestAction::Inplace
Public Instance Methods
destructive()
click to toggle source
# File lib/configmonkey_cli/application/manifest_actions/inplace.rb, line 22 def destructive instance_exec(manifest, self, &@block) end
init(label = nil, &block)
click to toggle source
# File lib/configmonkey_cli/application/manifest_actions/inplace.rb, line 5 def init label = nil, &block @label = label @block = block end
inspect()
click to toggle source
Calls superclass method
ConfigmonkeyCli::Application::ManifestAction::Base#inspect
# File lib/configmonkey_cli/application/manifest_actions/inplace.rb, line 10 def inspect @label ? super.gsub("Custom @args", "Custom @label=#{@label} @args") : super end
prepare()
click to toggle source
# File lib/configmonkey_cli/application/manifest_actions/inplace.rb, line 14 def prepare status :proc, :yellow, (@label || "unlabeled inplace block"), :blue end
simulate()
click to toggle source
# File lib/configmonkey_cli/application/manifest_actions/inplace.rb, line 18 def simulate destructive end