Sha256: 2cc381c57499c1baa5badfbb172443dc8acaf1ea21950f75b3d559787cea98e3

Contents?: true

Size: 169 Bytes

Versions: 3

Compression:

Stored size: 169 Bytes

Contents

module Nivo
  class Config
    def self.file
      raw_config = File.read("#{Rails.root}/config/nivo_config.yml")
      config = YAML.load(raw_config)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nivo-0.0.4 lib/nivo/config.rb
nivo-0.0.3 lib/nivo/config.rb
nivo-0.0.2 lib/nivo/config.rb