Sha256: 6976815a7c213f107be9bae0fd173622bca9b046a29e4a84c626b61dd848d547

Contents?: true

Size: 244 Bytes

Versions: 7

Compression:

Stored size: 244 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::System.host
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
reel-eye-0.5 lib/eye/dsl/helpers.rb
eye-0.5 lib/eye/dsl/helpers.rb
eye-0.4.2 lib/eye/dsl/helpers.rb
reel-eye-0.4.1 lib/eye/dsl/helpers.rb
eye-0.4.1 lib/eye/dsl/helpers.rb
reel-eye-0.4 lib/eye/dsl/helpers.rb
eye-0.4 lib/eye/dsl/helpers.rb