Sha256: b47665d439e0ac8a0da9104b95104685ee4c22bd6af4eeb781b46ee2fb7fba3d
Contents?: true
Size: 699 Bytes
Versions: 135
Compression:
Stored size: 699 Bytes
Contents
/** * Copyright 2005-2007 Yu Zhang * Distributed under the BSD License */ package com.xruby.runtime.builtin; import com.xruby.runtime.lang.RubyClass; import com.xruby.runtime.lang.RubyModule; import com.xruby.runtime.lang.RubyRuntime; public class ErrnoModuleBuilder { public static void initialize() { RubyModule m = RubyRuntime.ErrnoModule; RubyClass c = m.defineNewClass("ENOENT", RubyRuntime.SystemCallErrorClass); c.setConstant("Errno", ObjectFactory.createFixnum(IErrno.ENOENT)); c = m.defineNewClass("EACCES", RubyRuntime.SystemCallErrorClass); c.setConstant("Errno", ObjectFactory.createFixnum(IErrno.EACCES)); } }
Version data entries
135 entries across 135 versions & 2 rubygems