Method: Etna::Command#setup
- Defined in:
- lib/etna/command.rb
#setup(config) ⇒ Object
To be overridden during inheritance, to e.g. connect to a database. Should be called with super by inheriting method.
267 268 269 270 271 272 |
# File 'lib/etna/command.rb', line 267 def setup(config) Etna::Application.find(self.class).configure(config) rescue => e .error(e) raise end |