Class: Nabokov::NabokovfileKeyes
- Inherits:
-
Object
- Object
- Nabokov::NabokovfileKeyes
- Defined in:
- lib/nabokov/core/nabokovfile_keys.rb
Overview
Class contains the named constants for nabokovfile keyes
Class Method Summary collapse
-
.localizations_repo ⇒ String
The key to get the localizations repo settings.
-
.localizations_repo_master_branch ⇒ String
The key to get the master branch of the localizations repo.
-
.localizations_repo_url ⇒ String
The key to get the localizations remote URL string.
-
.project_local_path ⇒ String
The key to get the project’s local path.
-
.project_localization_file_paths ⇒ String
The key to get the (localization_code => localization_file_path) hash.
-
.project_repo ⇒ String
The key to get the project repo settings.
Class Method Details
.localizations_repo ⇒ String
Returns The key to get the localizations repo settings.
5 6 7 |
# File 'lib/nabokov/core/nabokovfile_keys.rb', line 5 def self.localizations_repo return "localizations_repo" end |
.localizations_repo_master_branch ⇒ String
Returns The key to get the master branch of the localizations repo.
15 16 17 |
# File 'lib/nabokov/core/nabokovfile_keys.rb', line 15 def self.localizations_repo_master_branch return "master_branch" end |
.localizations_repo_url ⇒ String
Returns The key to get the localizations remote URL string.
10 11 12 |
# File 'lib/nabokov/core/nabokovfile_keys.rb', line 10 def self.localizations_repo_url return "url" end |
.project_local_path ⇒ String
Returns The key to get the project’s local path.
30 31 32 |
# File 'lib/nabokov/core/nabokovfile_keys.rb', line 30 def self.project_local_path return "local_path" end |
.project_localization_file_paths ⇒ String
Returns The key to get the (localization_code => localization_file_path) hash.
25 26 27 |
# File 'lib/nabokov/core/nabokovfile_keys.rb', line 25 def self.project_localization_file_paths return "localizations" end |
.project_repo ⇒ String
Returns The key to get the project repo settings.
20 21 22 |
# File 'lib/nabokov/core/nabokovfile_keys.rb', line 20 def self.project_repo return "project_repo" end |