Sha256: e7e67d1a486054d6defb2baa3ae5e56c9b77e08329217e699bb66a30ee271323

Contents?: true

Size: 211 Bytes

Versions: 6

Compression:

Stored size: 211 Bytes

Contents

class WIN32OLERuntimeError < RuntimeError
  def initialize(cause=nil)
    @cause = cause
  end

  def backtrace
    @cause ? @cause.backtrace : super
  end

  def to_s
    @cause ? @cause.to_s : super
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
jruby-win32ole-0.8.5 lib/win32ole/win32ole_error.rb
jruby-win32ole-0.8.4 lib/win32ole/win32ole_error.rb
jruby-win32ole-0.8.3 lib/win32ole/win32ole_error.rb
jruby-win32ole-0.8.2 lib/win32ole/win32ole_error.rb
jruby-win32ole-0.8.1 lib/win32ole/win32ole_error.rb
jruby-win32ole-0.8.0 lib/win32ole/win32ole_error.rb