Exception: NameError
- Inherits:
-
Exception
- Object
- Exception
- NameError
- Defined in:
- lib/fuckitruby/name_error.rb
Instance Method Summary collapse
Instance Method Details
#e ⇒ Object
7 |
# File 'lib/fuckitruby/name_error.rb', line 7 alias_method :e, :exception |
#exception ⇒ Object
9 10 11 12 |
# File 'lib/fuckitruby/name_error.rb', line 9 def exception @bindings = binding.callers e end |
#message ⇒ Object
14 15 16 17 |
# File 'lib/fuckitruby/name_error.rb', line 14 def error_dialog *fix_for_name exec("ruby #{backtrace_locations[0].absolute_path}") end |