Sha256: e7e1daf5d30df63d932dd8ecdcd4090c858c3ccc1a20ec2428d317709fee0e36

Contents?: true

Size: 1.02 KB

Versions: 11

Compression:

Stored size: 1.02 KB

Contents

package org.jruby.jubilee;

/**
 * Created with IntelliJ IDEA.
 * User: isaiah
 * Date: 11/26/12
 * Time: 12:01 PM
 */
import org.jruby.runtime.ThreadContext;
import org.jruby.runtime.builtin.IRubyObject;

public interface RackErrors {
     /**
     * puts must be called with a single argument that responds to to_s.
     *
     * @param context ruby context
     * @param arg must respond to to_s
     * @return nil
     */
    IRubyObject puts( ThreadContext context, IRubyObject arg );

    /**
     * write must be called with a single argument that is a String.
     *
     * @param context ruby context
     * @param string a Ruby String
     * @return nil
     */
    IRubyObject write( ThreadContext context, IRubyObject string );

    /**
     * flush must be called without arguments and must be called in order to make the error appear for sure.
     *
     * @return nil
     */
    IRubyObject flush();

    /**
     * close must never be called on the error stream.
     *
     * @return nil
     */
    IRubyObject close();
}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
jubilee-1.0.2 java/src/org/jruby/jubilee/RackErrors.java
jubilee-1.0.1 java/src/org/jruby/jubilee/RackErrors.java
jubilee-1.0.0 java/src/org/jruby/jubilee/RackErrors.java
jubilee-1.0.0.beta1 java/src/org/jruby/jubilee/RackErrors.java
jubilee-0.5.0 java/src/org/jruby/jubilee/RackErrors.java
jubilee-0.4.1 java/src/org/jruby/jubilee/RackErrors.java
jubilee-0.4.0 java/src/org/jruby/jubilee/RackErrors.java
jubilee-0.2.2 java/src/org/jruby/jubilee/RackErrors.java
jubilee-0.2.1 java/src/org/jruby/jubilee/RackErrors.java
jubilee-0.2.0 java/src/org/jruby/jubilee/RackErrors.java
jubilee-0.1.2 java/src/org/jruby/jubilee/RackErrors.java