Sha256: 71871c3f9bc12064cf8163b17f05916eab14d9ca730e64cea06cc59664778fe0

Contents?: true

Size: 289 Bytes

Versions: 61

Compression:

Stored size: 289 Bytes

Contents

require 'config/persisted_hash'

module Nutella

  # Calling this method (Nutella.config) simply returns and instance of
  # PersistedHash linked to file config.json in nutella home directory
  def Nutella.config
    PersistedHash.new( "#{ENV['HOME']}/.nutella/config.json" )
  end
  
end

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
nutella_framework-0.3.1 lib/config/config.rb