Sha256: 96447cd0dc5a1779062edfc8e9e5596fd15a0812770f7ab5b2dc14739629848a

Contents?: true

Size: 279 Bytes

Versions: 2

Compression:

Stored size: 279 Bytes

Contents

module Steamy
  
  def self.config
    {
      :saved_connections => File.expand_path(yaml[:saved_connections])
    }
  end

  def self.yaml
    if File.exist?("#{ENV['HOME']}/.steamy")
      @yaml ||= YAML.load_file("#{ENV['HOME']}/.steamy")
    else
      {}
    end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
steamy-0.0.5 lib/steamy.rb
steamy-0.0.4 lib/steamy.rb