class Ogre::Config

Static method to make config parameters available

Public Class Methods

options() click to toggle source

Read in defaults from config file

# File lib/ogre/config.rb, line 16
def self.options
  (JSON.parse(File.read(CONFIG_PATH), symbolize_names: true) if File.exist?(CONFIG_PATH)) || {}
end