module Arborist
Constants
- VERSION
Public Class Methods
config(ns = nil) { |ns ? config : config| ... }
click to toggle source
# File lib/arborist/configuration.rb, line 4 def self.config ns = nil @config ||= Configuration.new @config[ns] ||= Configuration.new if ns if block_given? yield ns ? @config[ns] : @config end @config end