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