Sha256: ee668f40c0717af3c866da5d46c5f930dd0a214b3d5a07e7ecdf09fa0c21f1a7

Contents?: true

Size: 236 Bytes

Versions: 2

Compression:

Stored size: 236 Bytes

Contents

class Exception

  def initialize(message = '')
    @message = message
  end

  def message
    @message
  end

  def inspect
    `return "#<" + self.$k.__classid__ + ": '" + #{message} + "'>";`
  end

  def to_s
    message
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
opal-0.3.10 corelib/error.rb
opal-0.3.9 corelib/error.rb