Class: Localeapp::CLI::Install::StandaloneInstaller
- Inherits:
-
DefaultInstaller
- Object
- DefaultInstaller
- Localeapp::CLI::Install::StandaloneInstaller
- Defined in:
- lib/localeapp/cli/install.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from DefaultInstaller
#config_file_path, #data_directory, #key, #project_data
Instance Method Summary collapse
Methods inherited from DefaultInstaller
#check_data_directory_exists, #check_key, #execute, #initialize, #print_header, #validate_key, #write_rails_config
Constructor Details
This class inherits a constructor from Localeapp::CLI::Install::DefaultInstaller
Instance Method Details
#print_default_locale ⇒ Object
177 178 179 |
# File 'lib/localeapp/cli/install.rb', line 177 def print_default_locale # do nothing standalone end |
#set_config_paths ⇒ Object
181 182 183 184 185 |
# File 'lib/localeapp/cli/install.rb', line 181 def set_config_paths @output.puts "NOTICE: you probably want to add .localeapp to your .gitignore file" @config_file_path = ".localeapp/config.rb" @data_directory = "locales" end |
#write_config_file ⇒ Object
187 188 189 190 |
# File 'lib/localeapp/cli/install.rb', line 187 def write_config_file create_config_dir write_standalone_config end |