Class: Switches::Backends::Postgres::Remove

Inherits:
Object
  • Object
show all
Defined in:
lib/switches/backends/postgres/tasks/remove.rb

Instance Method Summary collapse

Constructor Details

#initialize(connection) ⇒ Remove

Returns a new instance of Remove.



5
6
7
# File 'lib/switches/backends/postgres/tasks/remove.rb', line 5

def initialize(connection)
  @connection = connection
end

Instance Method Details

#runObject



9
10
11
# File 'lib/switches/backends/postgres/tasks/remove.rb', line 9

def run
  drop_table
end