Class: Switches::Backends::Postgres::Remove
- Inherits:
-
Object
- Object
- Switches::Backends::Postgres::Remove
- Defined in:
- lib/switches/backends/postgres/tasks/remove.rb
Instance Method Summary collapse
-
#initialize(connection) ⇒ Remove
constructor
A new instance of Remove.
- #run ⇒ Object
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
#run ⇒ Object
9 10 11 |
# File 'lib/switches/backends/postgres/tasks/remove.rb', line 9 def run drop_table end |