module RoxClient
Constants
- VERSION
Public Class Methods
config()
click to toggle source
# File lib/rox-client-ruby/config.rb, line 6 def self.config @config ||= Config.new.tap(&:load) end
configure(options = {}) { |config| ... }
click to toggle source
# File lib/rox-client-ruby/config.rb, line 10 def self.configure options = {} yield config if block_given? @integration.each{ |block| block.call config } config.load_warnings.each{ |w| warn Paint["ROX - #{w}", :yellow] } config end
integrate(&block)
click to toggle source
# File lib/rox-client-ruby/config.rb, line 19 def self.integrate &block @integration << block end