Sha256: 9b1439404b8cd129ce3c036f0db10f4f539152d39056b2470b331cf373bc1175
Contents?: true
Size: 711 Bytes
Versions: 135
Compression:
Stored size: 711 Bytes
Contents
/** * Copyright 2005-2007 Xue Yong Zhi * Distributed under the BSD License */ package com.xruby.runtime.lang; public class RubyExceptionValueForThrow extends RubyExceptionValue { private RubyValue symbol_; private RubyValue returnValue_; public RubyExceptionValueForThrow(RubyValue symbol, RubyValue returnValue) { super(RubyRuntime.NameErrorClass, "uncaught throw `" + symbol.toString() + "'"); symbol_= symbol; returnValue_ = returnValue; } public boolean isSameSymbol(RubyValue another) { return symbol_.toString() == another.toString(); } public RubyValue getReturnValue() { return returnValue_; } }
Version data entries
135 entries across 135 versions & 2 rubygems