Top Level Namespace

Defined Under Namespace

Modules: Enumerable, Eye

Instance Method Summary collapse

Instance Method Details

#current_config_pathObject

current eye parsed config path



5
6
7
# File 'lib/eye/dsl/helpers.rb', line 5

def current_config_path
  Eye.parsed_filename && File.symlink?(Eye.parsed_filename) ? File.readlink(Eye.parsed_filename) : Eye.parsed_filename
end

#hostnameObject

host name



10
11
12
# File 'lib/eye/dsl/helpers.rb', line 10

def hostname
  Eye::System.host
end