module ProbeDockRSpec
Constants
- VERSION
Public Class Methods
config()
click to toggle source
# File lib/probe_dock_rspec/config.rb, line 2 def self.config @config ||= ProbeDockProbe::Config.new end
config=(config)
click to toggle source
# File lib/probe_dock_rspec/config.rb, line 6 def self.config= config @config = config end
configure(options = {})
click to toggle source
# File lib/probe_dock_rspec/config.rb, line 10 def self.configure options = {}, &block setup! if options.fetch :setup, true config.load! &block config.project.category ||= 'RSpec' config end
Private Class Methods
setup!()
click to toggle source
# File lib/probe_dock_rspec/config.rb, line 19 def self.setup! unless @setup @setup = true ::RSpec.configure do |c| c.add_formatter Formatter end end end