Class: Deadfire::ErrorReporter::Error

Inherits:
Struct
  • Object
show all
Defined in:
lib/deadfire/error_reporter.rb

Overview

create error struct with line and message

Instance Method Summary collapse

Instance Method Details

#to_sObject



25
26
27
# File 'lib/deadfire/error_reporter.rb', line 25

def to_s
  "Line #{line}: #{message}"
end