Sha256: eb76c5f768dd9e6d8ce047b3c130c73137f63f13671f4ff30c45762d63a9ccaa

Contents?: true

Size: 243 Bytes

Versions: 5

Compression:

Stored size: 243 Bytes

Contents

# Dsl Helpers

# current eye parsed config path
def current_config_path
  Eye.parsed_filename && File.symlink?(Eye.parsed_filename) ? File.readlink(Eye.parsed_filename) : Eye.parsed_filename
end

# host name
def hostname
  Eye::Local.host
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
reel-eye-0.5.2.1 lib/eye/dsl/helpers.rb
reel-eye-0.5.2 lib/eye/dsl/helpers.rb
eye-0.5.2 lib/eye/dsl/helpers.rb
reel-eye-0.5.1 lib/eye/dsl/helpers.rb
eye-0.5.1 lib/eye/dsl/helpers.rb