Class: Refuge::Native::Impl
- Includes:
- Singleton
- Defined in:
- lib/refuge/native.rb,
lib/refuge/native/linux.rb
Constant Summary
Constants inherited from Base
Instance Method Summary collapse
Instance Method Details
#config_paths ⇒ Object
22 23 24 25 26 27 28 |
# File 'lib/refuge/native/linux.rb', line 22 def config_paths [ '/etc/conf.d/refuge', # Global configuration '~/.refuge_conf', # Per-user configuration '.refuge/conf' # Local configuration ] end |
#fetch(path) ⇒ Object
30 31 32 |
# File 'lib/refuge/native/linux.rb', line 30 def fetch ( path ) status = `wget #{ path }` end |