class Boxafe::Config::DSL
Public Class Methods
new(config)
click to toggle source
# File lib/boxafe/config.rb, line 33 def initialize config @config = config end
Public Instance Methods
box(options = {})
click to toggle source
# File lib/boxafe/config.rb, line 37 def box options = {}, &block Boxafe::Box.new(@config.options.merge(options)).tap do |box| @config.boxes << box.configure(&block) end end
env(*args)
click to toggle source
# File lib/boxafe/config.rb, line 43 def env *args Mutaconf.env *args end