Sha256: 6526047d69ccf6d4b4546ef57cff70d74ffc3ce9bd471506825a27ffdd21e2fc

Contents?: true

Size: 247 Bytes

Versions: 11

Compression:

Stored size: 247 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

11 entries across 11 versions & 2 rubygems

Version Path
reel-eye-0.3.2 lib/eye/dsl/helpers.rb
eye-0.3.2 lib/eye/dsl/helpers.rb
reel-eye-0.3.1 lib/eye/dsl/helpers.rb
eye-0.3.1 lib/eye/dsl/helpers.rb
eye-0.3 lib/eye/dsl/helpers.rb
eye-0.2.4 lib/eye/dsl/helpers.rb
eye-0.2.3 lib/eye/dsl/helpers.rb
eye-0.2.2 lib/eye/dsl/helpers.rb
eye-0.2.1 lib/eye/dsl/helpers.rb
eye-0.2 lib/eye/dsl/helpers.rb
eye-0.1.11 lib/eye/dsl/helpers.rb