Sha256: 268e5509bb8899dc62c7eb1ce7801b20c0bcbbd4924839aed7881d32dcd302cf

Contents?: true

Size: 340 Bytes

Versions: 5

Compression:

Stored size: 340 Bytes

Contents

require 'singleton'
require Owl::CORE + '/classes/theme'

module Owl
  module Lib
    class Settings
      include Singleton

      SETTINGS_PATH         = 'settings.yml'
      THEME_SETTINGS_PATH   = [Owl::Lib::Theme::THEMES_PATH, SETTINGS_PATH].join(':') 

      def settings
        Cabi.read(SETTINGS_PATH)
      end

    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
owl-cms-0.1.5 core/classes/settings.rb
owl-cms-0.1.3 core/classes/settings.rb
owl-cms-0.1.2 core/classes/settings.rb
owl-cms-0.1.1 core/classes/settings.rb
owl-cms-0.1.0 core/classes/settings.rb