lib/eucalypt/migration/namespaces/migration-drop/cli/drop.rb in eucalypt-0.3.1 vs lib/eucalypt/migration/namespaces/migration-drop/cli/drop.rb in eucalypt-0.3.2

- old
+ new

@@ -1,19 +1,17 @@ require 'thor' require 'eucalypt/helpers' require_relative 'drop-table' require_relative 'drop-index' require_relative 'drop-column' +require 'eucalypt/list' module Eucalypt class MigrationDrop < Thor include Thor::Actions + extend Eucalypt::List - class << self - require 'eucalypt/list' - include Eucalypt::List - def banner(task, namespace = false, subcommand = true) - "#{basename} migration #{task.formatted_usage(self, true, subcommand).split(':').join(' ')}" - end + def self.banner(task, namespace = false, subcommand = true) + "#{basename} migration #{task.formatted_usage(self, true, subcommand).split(':').join(' ')}" end end end \ No newline at end of file