Module: ErrorExtractor

Defined in:
lib/error_extractor.rb,
lib/error_extractor/version.rb

Defined Under Namespace

Modules: ClassMethods

Constant Summary collapse

VERSION =
"0.1.1"

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



5
6
7
# File 'lib/error_extractor.rb', line 5

def self.included(base)
  base.extend ClassMethods
end

Instance Method Details

#extract_errors(e) ⇒ Object



9
10
11
# File 'lib/error_extractor.rb', line 9

def extract_errors(e)
  self.class.extract_errors(e)
end

#extract_errors_with_backtrace(e) ⇒ Object



13
14
15
# File 'lib/error_extractor.rb', line 13

def extract_errors_with_backtrace(e)
  self.class.extract_errors_with_backtrace(e)
end