Class: Lhj::PodRepoConfig
- Inherits:
-
Object
- Object
- Lhj::PodRepoConfig
- Defined in:
- lib/lhj/helper/pod_repo_config.rb
Overview
pod repo config
Constant Summary collapse
- CONFIG_NAME =
'pod_repo_config.yml'
Class Method Summary collapse
Class Method Details
.config ⇒ Object
15 16 17 |
# File 'lib/lhj/helper/pod_repo_config.rb', line 15 def self.config @yaml ||= YAML.load_file(config_file) end |
.config_file ⇒ Object
11 12 13 |
# File 'lib/lhj/helper/pod_repo_config.rb', line 11 def self.config_file File.join(Lhj::Config.instance.home_dir, CONFIG_NAME) end |
.pod_repo_name ⇒ Object
19 20 21 |
# File 'lib/lhj/helper/pod_repo_config.rb', line 19 def self.pod_repo_name config['pod_repo_name'] end |