Method: Bugwatch.add_adapter

Defined in:
lib/bugwatch/adapters.rb

.add_adapter(name, file_adapter, complexity = nil) ⇒ Object



42
43
44
# File 'lib/bugwatch/adapters.rb', line 42

def self.add_adapter(name, file_adapter, complexity=nil)
  @adapters.merge!(name => Adapter.new(file_adapter, complexity))
end