Class: Stable::Commands::Destroy

Inherits:
Object
  • Object
show all
Defined in:
lib/stable/commands/destroy.rb

Overview

Destroy command - permanently deletes a Rails application with confirmation

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Destroy

Returns a new instance of Destroy.



9
10
11
# File 'lib/stable/commands/destroy.rb', line 9

def initialize(name)
  @name = name
end

Instance Method Details

#callObject



13
14
15
# File 'lib/stable/commands/destroy.rb', line 13

def call
  Services::AppDestroyer.new(@name).call
end