Class: SeeingIsBelieving::BugInSib

Inherits:
SeeingIsBelievingError
  • Object
show all
Defined in:
lib/seeing_is_believing/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(error) ⇒ BugInSib

Returns a new instance of BugInSib.



16
17
18
19
20
21
22
23
24
25
26
# File 'lib/seeing_is_believing/error.rb', line 16

def initialize(error)
  require 'parser/version'
  require 'seeing_is_believing/version'

  super "It blew up >.< Please log an issue at: https://github.com/JoshCheek/seeing_is_believing/issues\n"\
        "SeeingIsBelieving::VERSION  #{SeeingIsBelieving::VERSION.inspect}\n"\
        "Parser::VERSION             #{Parser::VERSION.inspect}\n"\
        "RUBY_VERSION                #{RUBY_VERSION.inspect}\n"\
        "ENV['RUBY_VERSION']         #{ENV['RUBY_VERSION'].inspect}\n"\
        "Also include the source code of program that caused this behaviour."
end