module App::Config
Constants
- DEFAULT_PATH
- VERSION
Public Class Methods
new( *args, **opts )
click to toggle source
# File lib/app/config.rb, line 11 def new( *args, **opts ) type = args.shift || :YAML case type.to_sym when :RUBY App::Config::RUBY.new( **opts ) when :YAML App::Config::YAML.new( **opts ) when :JSON App::Config::JSON.new( **opts ) else raise App::Config::Error, "unknown type: #{type}" end end