Class: Rubyhub::Operations::Configuration::Setup
- Inherits:
-
Object
- Object
- Rubyhub::Operations::Configuration::Setup
- Defined in:
- lib/rubyhub/operations/configuration/setup.rb
Constant Summary collapse
- TEMPLATE_PATH =
'lib/rubyhub/config/templates/.rubyhub.yml'.freeze
Class Method Summary collapse
Class Method Details
.call ⇒ Object
10 11 12 13 14 15 16 17 |
# File 'lib/rubyhub/operations/configuration/setup.rb', line 10 def call if Rubyhub::Configuration.exists? puts 'Config already exists!' else initialize_config puts 'Config successfully installed!' end end |