Class: Refuge::Native::Impl

Inherits:
Base
  • Object
show all
Includes:
Singleton
Defined in:
lib/refuge/native.rb,
lib/refuge/native/linux.rb

Constant Summary

Constants inherited from Base

Base::STANDARD_API

Instance Method Summary collapse

Instance Method Details

#config_pathsObject



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