Top Level Namespace
Defined Under Namespace
Modules: Enumerable, Eye
Instance Method Summary collapse
-
#current_config_path ⇒ Object
current eye parsed config path.
-
#hostname ⇒ Object
host name.
Instance Method Details
#current_config_path ⇒ Object
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 |
#hostname ⇒ Object
host name
10 11 12 |
# File 'lib/eye/dsl/helpers.rb', line 10 def hostname Eye::System.host end |