class Exa::Deleter
Public Class Methods
new(target)
click to toggle source
Calls superclass method
Exa::Process::new
# File lib/exa.rb, line 43 def initialize(target) @target = target super("delete #{target}") end
Public Instance Methods
perform!()
click to toggle source
# File lib/exa.rb, line 48 def perform! @target.parent.remove_child(child_name: @target.name) end