Exception: Foobara::Autocrud::NoBaseSetError

Inherits:
StandardError
  • Object
show all
Defined in:
foobara-autocrud-0.0.1/src/no_base_set_error.rb

Overview

TODO: delete this error once everything is implemented as commands

Instance Method Summary collapse

Constructor Details

#initializeNoBaseSetError

Returns a new instance of NoBaseSetError.



5
6
7
8
9
10
# File 'foobara-autocrud-0.0.1/src/no_base_set_error.rb', line 5

def initialize
  super(
    "You need to set Foobara::Autocrud.base. " \
    "Try `Autocrud.base = Foobara::Persistence.default_base` if you just want to use the default base."
  )
end