Sha256: bf617274c5ed67e1336b785b9d421e6eb8d91855cb980a6205bff1d83a88800c
Contents?: true
Size: 685 Bytes
Versions: 119
Compression:
Stored size: 685 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
119 entries across 119 versions & 1 rubygems