Exception: Arborist::UnknownSchemaMethod

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/arborist/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(method_name) ⇒ UnknownSchemaMethod

Returns a new instance of UnknownSchemaMethod.



13
14
15
16
# File 'lib/arborist/exceptions.rb', line 13

def initialize method_name
  super %Q{Unknown schema migration method: #{method_name}.
    Use :up, :down or :change}
end