org.jruby
Class RubyStringIO
java.lang.Object
org.jruby.RubyObject
org.jruby.RubyStringIO
- All Implemented Interfaces:
- java.lang.Cloneable, IRubyObject
- public class RubyStringIO
- extends RubyObject
Methods inherited from class org.jruby.RubyObject |
addFinalizer, anyToString, asString, asSymbol, attachToObjectSpace, callInit, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethodMissingIfNecessary, callSuper, checkArrayType, checkFrozen, checkStringType, compilerCallMethod, compilerCallMethodWithIndex, convertToArray, convertToFloat, convertToHash, convertToInteger, convertToString, convertToType, convertToType, convertToType, convertToTypeWithCheck, createObjectClass, dataGetStruct, dataWrapStruct, display, doClone, dup, eql, eqlInternal, equal, equalInternal, equals, evalSimple, evalUnder, evalWithBinding, extend, freeze, frozen, getInstanceVariable, getInstanceVariables, getInstanceVariablesSnapshot, getJavaClass, getMetaClass, getNativeTypeIndex, getRuntime, getSingletonClass, getSingletonClassClone, getType, hash, hashCode, id_deprecated, id, infectBy, inherited, initCopy, initialize_copy, inspect, instance_eval, instance_exec, instance_of, instance_variable_get, instance_variable_set, instance_variables, instanceVariableNames, isFalse, isFrozen, isImmediate, isKindOf, isNil, isSingleton, isTaint, isTrue, kind_of, makeMetaClass, match, method, methods, nil_p, obj_equal, private_methods, protected_methods, public_methods, puts, rbClone, remove_instance_variable, removeFinalizers, removeInstanceVariable, respond_to, respondsTo, safeGetInstanceVariables, safeHasInstanceVariables, send, setFrozen, setInstanceVariable, setInstanceVariable, setInstanceVariables, setMetaClass, setTaint, singleton_methods, specificEval, taint, tainted, testFrozen, to_s, toString, trueFalseNil, trueFalseNil, type_deprecated, type, untaint |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
RubyStringIO
protected RubyStringIO(Ruby runtime,
RubyClass klass)
createStringIOClass
public static RubyClass createStringIOClass(Ruby runtime)
open
public static IRubyObject open(IRubyObject recv,
IRubyObject[] args,
Block block)
initialize
public IRubyObject initialize(IRubyObject[] args,
Block block)
- Overrides:
initialize
in class RubyObject
append
public IRubyObject append(IRubyObject obj)
binmode
public IRubyObject binmode()
close
public IRubyObject close()
closed_p
public IRubyObject closed_p()
close_read
public IRubyObject close_read()
closed_read_p
public IRubyObject closed_read_p()
close_write
public IRubyObject close_write()
closed_write_p
public IRubyObject closed_write_p()
each
public IRubyObject each(IRubyObject[] args,
Block block)
each_byte
public IRubyObject each_byte(Block block)
each_line
public IRubyObject each_line(Block block)
eof
public IRubyObject eof()
eof_p
public IRubyObject eof_p()
fcntl
public IRubyObject fcntl()
fileno
public IRubyObject fileno()
flush
public IRubyObject flush()
fsync
public IRubyObject fsync()
getc
public IRubyObject getc()
internalGets
public IRubyObject internalGets(IRubyObject[] args)
gets
public IRubyObject gets(IRubyObject[] args)
isatty
public IRubyObject isatty()
tty_p
public IRubyObject tty_p()
length
public IRubyObject length()
lineno
public IRubyObject lineno()
set_lineno
public IRubyObject set_lineno(RubyFixnum val)
path
public IRubyObject path()
pid
public IRubyObject pid()
pos
public IRubyObject pos()
tell
public IRubyObject tell()
set_pos
public IRubyObject set_pos(RubyFixnum val)
print
public IRubyObject print(IRubyObject[] args)
printf
public IRubyObject printf(IRubyObject[] args)
putc
public IRubyObject putc(IRubyObject obj)
puts
public IRubyObject puts(IRubyObject[] obj)
read
public IRubyObject read(IRubyObject[] args)
readchar
public IRubyObject readchar()
readline
public IRubyObject readline(IRubyObject[] args)
readlines
public IRubyObject readlines(IRubyObject[] arg)
reopen
public IRubyObject reopen(IRubyObject str)
rewind
public IRubyObject rewind()
seek
public IRubyObject seek(IRubyObject[] args)
size
public IRubyObject size()
string
public IRubyObject string()
set_string
public IRubyObject set_string(RubyString arg)
sync
public IRubyObject sync()
set_sync
public IRubyObject set_sync(IRubyObject args)
syswrite
public IRubyObject syswrite(IRubyObject args)
truncate
public IRubyObject truncate(RubyFixnum args)
ungetc
public IRubyObject ungetc(RubyFixnum args)
write
public IRubyObject write(IRubyObject args)
Copyright © 2002-2007 JRuby Team. All Rights Reserved.