Class: Krb::Setup::GitIgnore
- Inherits:
-
ApplicationService
- Object
- ApplicationService
- Krb::Setup::GitIgnore
- Defined in:
- lib/krb/setup/git_ignore.rb
Overview
Sets up configuration
Instance Method Summary collapse
Methods inherited from ApplicationService
process, #prompt, #setup_file_name, #setup_file_path, #verify_admin, #verify_production, #verify_setup
Instance Method Details
#process ⇒ Object
7 8 9 10 11 |
# File 'lib/krb/setup/git_ignore.rb', line 7 def process return if has_gitignore? && is_ignored? add_gitignore unless has_gitignore? write_to_gitignore unless is_ignored? end |