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
#check_default_locale ⇒ Object
164 165 166 |
# File 'lib/localeapp/cli/install.rb', line 164 def check_default_locale # do nothing standalone end |
#set_config_paths ⇒ Object
168 169 170 171 172 |
# File 'lib/localeapp/cli/install.rb', line 168 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
174 175 176 177 |
# File 'lib/localeapp/cli/install.rb', line 174 def write_config_file create_config_dir write_standalone_config end |