Module: Mixin::Configuration
- Defined in:
- lib/clearbooks/interface/thor/mixin/configuration.rb
Instance Method Summary collapse
Instance Method Details
#initialize(*args) ⇒ Object
16 17 18 19 20 21 |
# File 'lib/clearbooks/interface/thor/mixin/configuration.rb', line 16 def initialize *args super unless File.exist?("~/.clearbooks/config.yaml") abort("Could not find configuration file in ~/clearbooks/config.yaml. Please run 'clearbooks config:generate' to generate it.") end end |