Module: Repper::RegexpExt
- Defined in:
- lib/repper/core_ext/regexp_ext.rb
Instance Method Summary collapse
Instance Method Details
#inspect ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/repper/core_ext/regexp_ext.rb', line 7 def inspect Repper.prevent_color_override_by_repl str = Repper.render(self) str.instance_variable_set(Repper::ALREADY_COLORED_MARK, true) str rescue => e warn "Error in Repper:\n#{e.message}\n#{e.class} @ #{e.backtrace[0]}" super end |