Method: Transcriptic::UI.disable_error_capture
- Defined in:
- lib/transcriptic/ui.rb
.disable_error_capture ⇒ Object
302 303 304 305 306 307 308 309 310 311 |
# File 'lib/transcriptic/ui.rb', line 302 def self.disable_error_capture included_into.each do |base| base.send(:alias_method, :error, :error_without_failure) end extended_into.each do |base| class << base alias_method :error, :error_without_failure end end end |