Class: Nabokov::NabokovfileKeyes

Inherits:
Object
  • Object
show all
Defined in:
lib/nabokov/core/nabokovfile_keys.rb

Overview

Class contains the named constants for nabokovfile keyes

Class Method Summary collapse

Class Method Details

.localizations_repoString

Returns The key to get the localizations repo settings.

Returns:

  • (String)

    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_branchString

Returns The key to get the master branch of the localizations repo.

Returns:

  • (String)

    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_urlString

Returns The key to get the localizations remote URL string.

Returns:

  • (String)

    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_pathString

Returns The key to get the project’s local path.

Returns:

  • (String)

    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_pathsString

Returns The key to get the (localization_code => localization_file_path) hash.

Returns:

  • (String)

    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_repoString

Returns The key to get the project repo settings.

Returns:

  • (String)

    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