module Dip
Constants
- Error
- VERSION
Public Class Methods
bin_path()
click to toggle source
# File lib/dip.rb, line 17 def bin_path $PROGRAM_NAME.start_with?("./") ? File.expand_path($PROGRAM_NAME) : "dip" end
config()
click to toggle source
# File lib/dip.rb, line 9 def config @config ||= Dip::Config.new end
env()
click to toggle source
# File lib/dip.rb, line 13 def env @env ||= Dip::Environment.new(config.exist? ? config.environment : {}) end
reset!()
click to toggle source
# File lib/dip.rb, line 27 def reset! @config = nil @env = nil end