Sha256: c723142a23fd4a12a30a74a8766ea9b608a4296c289a7075e3842225bed29c01

Contents?: true

Size: 295 Bytes

Versions: 3

Compression:

Stored size: 295 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("#{File.dirname(__FILE__)}/../../config.json")
  end
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nutella_framework-0.3.0 lib/config/config.rb
nutella_framework-0.2.1 lib/config/config.rb
nutella_framework-0.2.0 lib/config/config.rb