Uses of Class
org.jruby.runtime.Block

Packages that use Block
org.jruby   
org.jruby.ast.executable   
org.jruby.evaluator   
org.jruby.ext   
org.jruby.ext.socket   
org.jruby.internal.runtime   
org.jruby.internal.runtime.methods   
org.jruby.javasupport   
org.jruby.javasupport.proxy   
org.jruby.javasupport.util   
org.jruby.libraries   
org.jruby.runtime   
org.jruby.runtime.builtin   
org.jruby.runtime.callback   
org.jruby.test   
 

Uses of Block in org.jruby
 

Methods in org.jruby that return Block
 Block RubyProc.getBlock()
           
 

Methods in org.jruby with parameters of type Block
 IRubyObject RubyThreadGroup.add(IRubyObject rubyThread, Block block)
           
static IRubyObject RubyEnumerable.all_p(ThreadContext context, IRubyObject self, Block block)
           
static IRubyObject RubyEnumerable.any_p(ThreadContext context, IRubyObject self, Block block)
           
static IRubyObject RubyPrecision.append_features(IRubyObject receiver, IRubyObject include, Block block)
           
static IRubyObject RubyKernel.at_exit(IRubyObject recv, Block block)
           
 RubyMethod RubyUnboundMethod.bind(IRubyObject aReceiver, Block block)
           
static RubyBinding RubyKernel.binding(IRubyObject recv, Block block)
           
static RubyBoolean RubyKernel.block_given_p(ThreadContext context, IRubyObject recv, Block block)
           
static IRubyObject RubyMethod.bmcall(IRubyObject blockArg, IRubyObject arg1, IRubyObject self, Block unusedBlock)
          Delegate a block call to a bound method call.
 IRubyObject RubyMethod.call(IRubyObject[] args, Block block)
          Call the method.
 IRubyObject RubyUnboundMethod.call(IRubyObject[] args, Block block)
           
static IRubyObject RubyContinuation.call(IRubyObject recv, IRubyObject[] args, Block unusedBlock)
           
 IRubyObject RubyEnumerable.AppendBlockCallback.call(ThreadContext context, IRubyObject[] largs, Block blk)
           
 IRubyObject RubyProc.call(ThreadContext context, IRubyObject[] args, Block unusedBlock)
           
 IRubyObject RubyProc.call(ThreadContext context, IRubyObject[] args, IRubyObject self, Block unusedBlock)
           
static IRubyObject RubyKernel.callcc(ThreadContext context, IRubyObject recv, Block block)
           
static IRubyObject RubyKernel.caller(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
           
 void RubyObject.callInit(IRubyObject[] args, Block block)
          Call the Ruby initialize method with the supplied arguments and block.
 IRubyObject RubyObjectAdapter.callMethod(IRubyObject receiver, java.lang.String methodName, IRubyObject[] args, Block block)
           
 IRubyObject RubyObject.callMethod(ThreadContext context, java.lang.String name, IRubyObject[] args, Block block)
          Will invoke a named method with the supplied arguments and supplied block with functional invocation.
 IRubyObject RubyObjectAdapter.callSuper(IRubyObject receiver, IRubyObject[] args, Block block)
           
 IRubyObject RubyObject.callSuper(ThreadContext context, IRubyObject[] args, Block block)
          The protocol for super method invocation is a bit complicated in Ruby.
 IRubyObject NativeException.cause(Block unusedBlock)
           
static IRubyObject RubyDir.chdir(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
          Changes the current directory to path
static IRubyObject RubyKernel.chomp_bang(ThreadContext context, IRubyObject recv, Block block)
           
static IRubyObject RubyKernel.chomp_bang(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
          Deprecated. Use the zero or one-arg versions.
static IRubyObject RubyKernel.chomp_bang(ThreadContext context, IRubyObject recv, IRubyObject arg0, Block block)
           
static IRubyObject RubyKernel.chomp(ThreadContext context, IRubyObject recv, Block block)
           
static IRubyObject RubyKernel.chomp(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
          Deprecated. Use the zero or one-arg versions.
static IRubyObject RubyKernel.chomp(ThreadContext context, IRubyObject recv, IRubyObject arg0, Block block)
           
static IRubyObject RubyKernel.chop_bang(ThreadContext context, IRubyObject recv, Block block)
           
static IRubyObject RubyKernel.chop(ThreadContext context, IRubyObject recv, Block block)
           
 RubyArray RubyArray.collect_bang(ThreadContext context, Block block)
          rb_ary_collect_bang
 RubyArray RubyArray.collect(ThreadContext context, Block block)
          rb_ary_collect
static IRubyObject RubyEnumerable.collect(ThreadContext context, IRubyObject self, Block block)
           
static IRubyObject RubyJRuby.compile(IRubyObject recv, IRubyObject[] args, Block block)
           
 IRubyObject RubyModule.const_missing(IRubyObject name, Block block)
          Base implementation of Module#const_missing, throws NameError for specific missing constant.
static IRubyObject RubyIconv.conv(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block unusedBlock)
           
static IRubyObject RubyArray.create(IRubyObject klass, IRubyObject[] args, Block block)
          rb_ary_s_create
static IRubyObject RubyHash.create(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
          rb_hash_s_create
static IRubyObject RubyObjectSpace.define_finalizer(IRubyObject recv, IRubyObject[] args, Block block)
           
 IRubyObject RubyModule.define_method(ThreadContext context, IRubyObject[] args, Block block)
           
 IRubyObject RubyArray.delete_if(ThreadContext context, Block block)
          rb_ary_delete_if
 RubyHash RubyHash.delete_if(ThreadContext context, Block block)
          rb_hash_delete_if
 IRubyObject RubyArray.delete(ThreadContext context, IRubyObject item, Block block)
          rb_ary_delete
 IRubyObject RubyHash.delete(ThreadContext context, IRubyObject key, Block block)
          rb_hash_delete
static IRubyObject RubyEnumerable.detect(ThreadContext context, IRubyObject self, IRubyObject[] args, Block block)
           
 IRubyObject RubyInteger.downto(ThreadContext context, IRubyObject to, Block block)
          int_downto
 IRubyObject RubyBigDecimal.dump(IRubyObject[] args, Block unusedBlock)
           
 RubyString RubyTime.dump(IRubyObject[] args, Block unusedBlock)
           
static IRubyObject RubyMarshal.dump(IRubyObject recv, IRubyObject[] args, Block unusedBlock)
           
 IRubyObject RubyIO.each_byte(ThreadContext context, Block block)
          Invoke a block for each byte.
 RubyString RubyString.each_byte(ThreadContext context, Block block)
          rb_str_each_byte
 IRubyObject RubyStringIO.each_byte(ThreadContext context, Block block)
           
 IRubyObject RubyZlib.RubyGzipReader.each_byte(ThreadContext context, Block block)
           
static IRubyObject RubyArgsFile.each_byte(ThreadContext context, IRubyObject recv, Block block)
           
static IRubyObject RubyEnumerator.each_cons(ThreadContext context, IRubyObject self, IRubyObject arg, Block block)
           
static IRubyObject RubyYAML.each_document(IRubyObject self, IRubyObject arg, Block block)
           
 IRubyObject RubyArray.each_index(ThreadContext context, Block block)
          rb_ary_each_index
 RubyHash RubyHash.each_key(ThreadContext context, Block block)
          rb_hash_each_key
 RubyIO RubyIO.each_line(ThreadContext context, IRubyObject[] args, Block block)
          Invoke a block for each line.
 IRubyObject RubyString.each_line(ThreadContext context, IRubyObject[] args, Block block)
          rb_str_each_line
 IRubyObject RubyStringIO.each_line(ThreadContext context, IRubyObject[] args, Block block)
           
static IRubyObject RubyArgsFile.each_line(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
          Invoke a block for each line.
static IRubyObject RubyObjectSpace.each_object(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
           
 RubyHash RubyHash.each_pair(ThreadContext context, Block block)
          rb_hash_each_pair
 IRubyObject RubyStruct.each_pair(ThreadContext context, Block block)
           
static IRubyObject RubyEnumerator.each_slice(ThreadContext context, IRubyObject self, IRubyObject arg, Block block)
           
 RubyHash RubyHash.each_value(ThreadContext context, Block block)
          rb_hash_each_value
static IRubyObject RubyEnumerable.each_with_index(ThreadContext context, IRubyObject self, Block block)
           
 IRubyObject RubyClassPathVariable.each(Block block)
           
 IRubyObject RubyArray.each(ThreadContext context, Block block)
          rb_ary_each
 IRubyObject RubyDir.each(ThreadContext context, Block block)
          Executes the block once for each entry in the directory.
 IRubyObject RubyEnumerator.each(ThreadContext context, Block block)
          Send current block and supplied args to method on target.
 RubyHash RubyHash.each(ThreadContext context, Block block)
          rb_hash_each
 IRubyObject RubyRange.each(ThreadContext context, Block block)
           
 IRubyObject RubyStruct.each(ThreadContext context, Block block)
           
 IRubyObject RubyStringIO.each(ThreadContext context, IRubyObject[] args, Block block)
           
 IRubyObject RubyZlib.RubyGzipReader.each(ThreadContext context, IRubyObject[] args, Block block)
           
 IRubyObject RubyThreadGroup.enclose(Block block)
           
 IRubyObject RubyThreadGroup.enclosed_p(Block block)
           
static IRubyObject RubyKernel.eval(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyException.exception(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
           
 IRubyObject RubyModule.executeUnder(ThreadContext context, Callback method, IRubyObject[] args, Block block)
          Deprecated. 
 IRubyObject RubyModule.extended(IRubyObject other, Block block)
           
 IRubyObject RubyArray.fetch(ThreadContext context, IRubyObject[] args, Block block)
          rb_ary_fetch
 IRubyObject RubyHash.fetch(ThreadContext context, IRubyObject[] args, Block block)
          rb_hash_fetch
 IRubyObject RubyArray.fill(ThreadContext context, IRubyObject[] args, Block block)
          rb_ary_fill
static IRubyObject RubyIO.foreach(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
          rb_io_s_foreach
static IRubyObject RubyDir.foreach(ThreadContext context, IRubyObject recv, IRubyObject _path, Block block)
          Executes the block once for each file in the directory specified by path.
static IRubyObject RubyKernel.fork(ThreadContext context, IRubyObject recv, Block block)
           
static IRubyObject RubyProcess.fork(ThreadContext context, IRubyObject recv, Block block)
           
static IRubyObject RubyJRuby.getObjectSpaceEnabled(IRubyObject recv, Block b)
           
static IRubyObject RubyDir.glob(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
          Returns an array of filenames matching the specified wildcard pattern pat.
static IRubyObject RubyEnumerable.grep(ThreadContext context, IRubyObject self, IRubyObject pattern, Block block)
           
static IRubyObject RubyEnumerable.group_by(ThreadContext context, IRubyObject self, Block block)
           
static IRubyObject RubyEtc.group(IRubyObject recv, Block block)
           
 IRubyObject RubyString.gsub_bang(ThreadContext context, IRubyObject[] args, Block block)
          Deprecated. Use the versions with one or two arguments.
 IRubyObject RubyString.gsub_bang(ThreadContext context, IRubyObject arg0, Block block)
          rb_str_gsub_bang
static IRubyObject RubyKernel.gsub_bang(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
          Deprecated. Use the one or two-arg versions.
static IRubyObject RubyKernel.gsub_bang(ThreadContext context, IRubyObject recv, IRubyObject arg0, Block block)
           
 IRubyObject RubyString.gsub_bang(ThreadContext context, IRubyObject arg0, IRubyObject arg1, Block block)
          rb_str_gsub_bang
static IRubyObject RubyKernel.gsub_bang(ThreadContext context, IRubyObject recv, IRubyObject arg0, IRubyObject arg1, Block block)
           
 IRubyObject RubyString.gsub(ThreadContext context, IRubyObject[] args, Block block)
          Deprecated. Use the versions with one or two arguments.
 IRubyObject RubyString.gsub(ThreadContext context, IRubyObject arg0, Block block)
          rb_str_gsub
static IRubyObject RubyKernel.gsub(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
          Deprecated. Use the one or two-arg versions.
static IRubyObject RubyKernel.gsub(ThreadContext context, IRubyObject recv, IRubyObject arg0, Block block)
           
 IRubyObject RubyString.gsub(ThreadContext context, IRubyObject arg0, IRubyObject arg1, Block block)
          rb_str_gsub
static IRubyObject RubyKernel.gsub(ThreadContext context, IRubyObject recv, IRubyObject arg0, IRubyObject arg1, Block block)
           
static IRubyObject RubyIconv.iconv(IRubyObject recv, IRubyObject[] args, Block unusedBlock)
           
static IRubyObject RubyPrecision.induced_from(IRubyObject receiver, IRubyObject source, Block block)
           
 IRubyObject RubyModule.initialize(Block block)
          rb_mod_initialize
 IRubyObject RubyTime.initialize(Block block)
           
 IRubyObject RubyZlib.ZStream.initialize(Block unusedBlock)
           
 IRubyObject RubyClass.initialize(IRubyObject[] args, Block block)
          rb_class_initialize
 IRubyObject RubyDigest.Base.initialize(IRubyObject[] args, Block unusedBlock)
           
 IRubyObject RubyException.initialize(IRubyObject[] args, Block block)
           
 IRubyObject RubyFile.initialize(IRubyObject[] args, Block block)
           
 IRubyObject RubyHash.initialize(IRubyObject[] args, Block block)
          rb_hash_initialize
 IRubyObject RubyIO.initialize(IRubyObject[] args, Block unusedBlock)
           
 IRubyObject RubyIconv.RubyFailure.initialize(IRubyObject[] args, Block block)
           
 IRubyObject RubyNameError.initialize(IRubyObject[] args, Block block)
           
 IRubyObject RubyNoMethodError.initialize(IRubyObject[] args, Block block)
           
 IRubyObject RubyString.initialize(IRubyObject[] args, Block unusedBlock)
          Deprecated. Use the versions with zero or one arguments
 IRubyObject RubyStringIO.initialize(IRubyObject[] args, Block unusedBlock)
           
 IRubyObject RubyStringScanner.initialize(IRubyObject[] args, Block unusedBlock)
           
 IRubyObject RubyStruct.initialize(IRubyObject[] args, Block unusedBlock)
           
 IRubyObject RubySystemCallError.initialize(IRubyObject[] args, Block block)
           
 IRubyObject RubySystemExit.initialize(IRubyObject[] args, Block block)
           
 IRubyObject RubyThread.initialize(IRubyObject[] args, Block block)
           
 IRubyObject RubyDir.initialize(IRubyObject _newPath, Block unusedBlock)
          Creates a new Dir.
 IRubyObject RubyFileStat.initialize(IRubyObject fname, Block unusedBlock)
           
 IRubyObject RubyZlib.RubyGzipReader.initialize(IRubyObject io, Block unusedBlock)
           
 IRubyObject RubyIconv.initialize(IRubyObject arg1, IRubyObject arg2, Block unusedBlock)
           
 IRubyObject RubyProc.initialize(ThreadContext context, Block procBlock)
           
 IRubyObject RubyArray.initialize(ThreadContext context, IRubyObject[] args, Block block)
          rb_ary_initialize
 IRubyObject RubyRange.initialize(ThreadContext context, IRubyObject[] args, Block unusedBlock)
           
 IRubyObject RubyZlib.RubyGzipWriter.initialize2(IRubyObject[] args, Block unusedBlock)
           
static IRubyObject RubyEnumerable.inject(ThreadContext context, IRubyObject self, IRubyObject[] args, Block block)
           
 IRubyObject RubyObject.instance_eval(ThreadContext context, IRubyObject[] args, Block block)
          rb_obj_instance_eval call-seq: obj.instance_eval(string [, filename [, lineno]] ) => obj obj.instance_eval {| | block } => obj Evaluates a string containing Ruby source code, or the given block, within the context of the receiver (_obj_).
 IRubyObject RubyObject.instance_exec(ThreadContext context, IRubyObject[] args, Block block)
          rb_obj_instance_exec call-seq: obj.instance_exec(arg...) {|var...| block } => obj Executes the given block within the context of the receiver (_obj_).
 IRubyObject RubyClass.invoke(ThreadContext context, IRubyObject self, int methodIndex, java.lang.String name, IRubyObject[] args, CallType callType, Block block)
           
 IRubyObject RubyClass.invoke(ThreadContext context, IRubyObject self, java.lang.String name, IRubyObject[] args, CallType callType, Block block)
           
 IRubyObject RubyClass.invoke(ThreadContext context, IRubyObject self, java.lang.String name, IRubyObject arg, CallType callType, Block block)
           
static IRubyObject RubyThread.kill(IRubyObject receiver, IRubyObject rubyThread, Block block)
           
static RubyProc RubyKernel.lambda(IRubyObject recv, Block block)
           
 IRubyObject RubyThreadGroup.list(Block block)
           
static IRubyObject RubyYAML.load_documents(IRubyObject self, IRubyObject arg, Block block)
           
static IRubyObject RubyKernel.load(IRubyObject recv, IRubyObject[] args, Block block)
           
static RubyBigDecimal RubyBigDecimal.load(IRubyObject recv, IRubyObject from, Block block)
           
static RubyTime RubyTime.load(IRubyObject recv, IRubyObject from, Block block)
           
static IRubyObject RubyMarshal.load(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block unusedBlock)
           
static IRubyObject RubyKernel.loop(ThreadContext context, IRubyObject recv, Block block)
           
static IRubyObject RubyEnumerable.max(ThreadContext context, IRubyObject self, Block block)
           
static RubyArray RubyStruct.members(IRubyObject recv, Block block)
           
static IRubyObject RubyStruct.StructMethods.members(IRubyObject recv, Block block)
           
 RubyHash RubyHash.merge_bang(ThreadContext context, IRubyObject other, Block block)
          rb_hash_update
 RubyHash RubyHash.merge(ThreadContext context, IRubyObject other, Block block)
          rb_hash_merge
static IRubyObject RubyKernel.method_missing(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyEnumerable.min(ThreadContext context, IRubyObject self, Block block)
           
 IRubyObject RubyModule.module_eval(ThreadContext context, IRubyObject[] args, Block block)
           
static RubyArray RubyModule.nesting(ThreadContext context, IRubyObject recv, Block block)
          Return an array of nested modules or classes.
static RubyBigDecimal RubyBigDecimal.newBigDecimal(IRubyObject recv, IRubyObject[] args, Block unusedBlock)
           
static RubyZlib.RubyGzipWriter RubyZlib.RubyGzipWriter.newGzipWriter(IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyThreadGroup.newInstance(IRubyObject recv, Block block)
           
static RubyZlib.RubyGzipFile RubyZlib.RubyGzipFile.newInstance(IRubyObject recv, Block block)
           
static RubyString RubyString.newInstance(IRubyObject recv, IRubyObject[] args, Block block)
          rb_str_s_new
static RubyClass RubyStruct.newInstance(IRubyObject recv, IRubyObject[] args, Block block)
          Create new Struct class.
static IRubyObject RubyThread.newInstance(IRubyObject recv, IRubyObject[] args, Block block)
          Thread.new
static RubyZlib.RubyGzipReader RubyZlib.RubyGzipReader.newInstance(IRubyObject recv, IRubyObject[] args, Block block)
           
 IRubyObject RubyClass.newInstance(ThreadContext context, IRubyObject[] args, Block block)
          rb_class_new_instance
static IRubyObject RubyIO.newInstance(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyProc.newInstance(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
          Create a new instance of a Proc object.
static IRubyObject RubyTime.newInstance(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
           
 RubyProc Ruby.newProc(Block.Type type, Block block)
           
static RubyProc RubyProc.newProc(Ruby runtime, Block block, Block.Type type)
           
static RubyStruct RubyStruct.newStruct(IRubyObject recv, IRubyObject[] args, Block block)
          Create new Structure.
static IRubyObject RubyStruct.StructMethods.newStruct(IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyEnumerator.obj_to_enum(ThreadContext context, IRubyObject self, IRubyObject[] args, Block block)
           
static IRubyObject JRubyApplet.RubyMethods.on_destroy(IRubyObject recv, Block block)
           
static IRubyObject JRubyApplet.RubyMethods.on_paint(IRubyObject recv, Block block)
           
static IRubyObject JRubyApplet.RubyMethods.on_start(IRubyObject recv, Block block)
           
static IRubyObject JRubyApplet.RubyMethods.on_stop(IRubyObject recv, Block block)
           
static IRubyObject RubyIO.open(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyKernel.open(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyStringIO.open(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyZlib.RubyGzipWriter.open(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyDir.open(ThreadContext context, IRubyObject recv, IRubyObject path, Block block)
          Returns a new directory object for path.
static IRubyObject RubyZlib.RubyGzipReader.open(ThreadContext context, IRubyObject recv, IRubyObject filename, Block block)
           
static IRubyObject RubyIconv.open(ThreadContext context, IRubyObject recv, IRubyObject to, IRubyObject from, Block block)
           
static IRubyObject RubyJRuby.parse(IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyEnumerable.partition(ThreadContext context, IRubyObject self, Block block)
           
static IRubyObject RubyEtc.passwd(IRubyObject recv, Block block)
           
static IRubyObject RubyIO.popen(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyPrecision.prec_f(ThreadContext context, IRubyObject receiver, Block block)
           
static IRubyObject RubyPrecision.prec_i(ThreadContext context, IRubyObject receiver, Block block)
           
static IRubyObject RubyPrecision.prec(ThreadContext context, IRubyObject receiver, IRubyObject type, Block block)
           
static RubyProc RubyKernel.proc_1_9(IRubyObject recv, Block block)
           
static RubyProc RubyKernel.proc(IRubyObject recv, Block block)
           
static IRubyObject RubyYAML.quick_emit_node(IRubyObject self, IRubyObject[] args, Block block)
           
 IRubyObject RubyThread.raise(IRubyObject[] args, Block block)
           
static IRubyObject RubyKernel.raise(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyKernel.rbCatch(ThreadContext context, IRubyObject recv, IRubyObject tag, Block block)
           
static IRubyObject RubyKernel.rbThrow(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyIO.read(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
           
static RubyArray RubyIO.readlines(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
           
 IRubyObject RubyArray.reject_bang(ThreadContext context, Block block)
          rb_ary_reject_bang
 IRubyObject RubyHash.reject_bang(ThreadContext context, Block block)
          rb_hash_reject_bang
 IRubyObject RubyArray.reject(ThreadContext context, Block block)
          rb_ary_reject_bang
 RubyHash RubyHash.reject(ThreadContext context, Block block)
          rb_hash_reject
static IRubyObject RubyEnumerable.reject(ThreadContext context, IRubyObject self, Block block)
           
 IRubyObject RubyObject.remove_instance_variable(IRubyObject name, Block block)
          rb_obj_remove_instance_variable call-seq: obj.remove_instance_variable(symbol) => obj Removes the named instance variable from obj, returning that variable's value.
static IRubyObject RubyKernel.require(IRubyObject recv, IRubyObject name, Block block)
          Require.
 IRubyObject RubyArray.reverse_each(ThreadContext context, Block block)
          rb_ary_reverse_each
static IRubyObject RubyJRuby.runtime(IRubyObject recv, Block unusedBlock)
           
static IRubyObject RubyThread.s_exit(IRubyObject receiver, Block block)
           
static IRubyObject RubyTime.s_new(IRubyObject recv, IRubyObject[] args, Block block)
           
 IRubyObject RubyString.scan(ThreadContext context, IRubyObject arg, Block block)
          rb_str_scan
static IRubyObject RubyKernel.scan(ThreadContext context, IRubyObject recv, IRubyObject pattern, Block block)
           
 RubyArray RubyArray.select(ThreadContext context, Block block)
          rb_ary_select
 IRubyObject RubyHash.select(ThreadContext context, Block block)
          rb_hash_select
 IRubyObject RubyMatchData.select(ThreadContext context, Block block)
           
 RubyArray RubyStruct.select(ThreadContext context, Block block)
           
static IRubyObject RubyEnumerable.select(ThreadContext context, IRubyObject self, Block block)
           
 IRubyObject RubyObject.send(ThreadContext context, IRubyObject[] args, Block block)
          rb_f_send send( aSymbol [, args ]* ) -> anObject Invokes the method identified by aSymbol, passing it any arguments specified.
static IRubyObject RubyKernel.set_trace_func(IRubyObject recv, IRubyObject trace_func, Block block)
           
static IRubyObject RubyJRuby.setObjectSpaceEnabled(IRubyObject recv, IRubyObject arg, Block b)
           
static IRubyObject RubyKernel.singleton_method_added(IRubyObject recv, IRubyObject symbolId, Block block)
           
static IRubyObject RubyKernel.singleton_method_removed(IRubyObject recv, IRubyObject symbolId, Block block)
           
static IRubyObject RubyKernel.singleton_method_undefined(IRubyObject recv, IRubyObject symbolId, Block block)
           
 RubyArray RubyArray.sort_bang(Block block)
          rb_ary_sort_bang
static IRubyObject RubyEnumerable.sort_by(ThreadContext context, IRubyObject self, Block block)
           
 RubyArray RubyArray.sort(Block block)
          rb_ary_sort
 RubyArray RubyHash.sort(Block block)
          rb_hash_sort
static IRubyObject RubyEnumerable.sort(ThreadContext context, IRubyObject self, Block block)
           
 IRubyObject RubyObject.specificEval(ThreadContext context, RubyModule mod, IRubyObject[] args, Block block)
          specific_eval Evaluates the block or string inside of the context of this object, using the supplied arguments.
static RubyThread RubyThread.start(IRubyObject recv, IRubyObject[] args, Block block)
          Basically the same as Thread.new .
 IRubyObject RubyNumeric.step(ThreadContext context, IRubyObject[] args, Block block)
           
 IRubyObject RubyRange.step(ThreadContext context, IRubyObject[] args, Block block)
           
 IRubyObject RubyString.sub_bang(ThreadContext context, IRubyObject[] args, Block block)
          Deprecated. Use the versions with one or two arguments.
 IRubyObject RubyString.sub_bang(ThreadContext context, IRubyObject arg0, Block block)
          rb_str_sub_bang
static IRubyObject RubyKernel.sub_bang(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
          Deprecated. Use the one or two-arg versions.
static IRubyObject RubyKernel.sub_bang(ThreadContext context, IRubyObject recv, IRubyObject arg0, Block block)
           
 IRubyObject RubyString.sub_bang(ThreadContext context, IRubyObject arg0, IRubyObject arg1, Block block)
          rb_str_sub_bang
static IRubyObject RubyKernel.sub_bang(ThreadContext context, IRubyObject recv, IRubyObject arg0, IRubyObject arg1, Block block)
           
 IRubyObject RubyString.sub(ThreadContext context, IRubyObject[] args, Block block)
          Deprecated. Use the versions with one or two args.
 IRubyObject RubyString.sub(ThreadContext context, IRubyObject arg0, Block block)
          rb_str_sub
static IRubyObject RubyKernel.sub(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
          Deprecated. Use the one or two-arg versions.
static IRubyObject RubyKernel.sub(ThreadContext context, IRubyObject recv, IRubyObject arg0, Block block)
           
 IRubyObject RubyString.sub(ThreadContext context, IRubyObject arg0, IRubyObject arg1, Block block)
          rb_str_sub
static IRubyObject RubyKernel.sub(ThreadContext context, IRubyObject recv, IRubyObject arg0, IRubyObject arg1, Block block)
           
static IRubyObject RubyProcess.UserID.switch_rb(ThreadContext context, IRubyObject self, Block block)
           
static IRubyObject RubyProcess.GroupID.switch_rb(ThreadContext context, IRubyObject self, Block block)
           
static IRubyObject RubyKernel.tap(ThreadContext context, IRubyObject recv, Block block)
           
static IRubyObject RubyProcess.times(IRubyObject recv, Block unusedBlock)
           
 IRubyObject RubyInteger.times(ThreadContext context, Block block)
           
 IRubyObject RubyMethod.to_proc(Block unusedBlock)
          Create a Proc object.
 IRubyObject RubyUnboundMethod.to_proc(Block unusedBlock)
           
static IRubyObject RubyKernel.trace_var(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyKernel.trap(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubySignal.trap(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
           
 RubyUnboundMethod RubyMethod.unbind(Block unusedBlock)
           
 RubyUnboundMethod RubyUnboundMethod.unbind(Block block)
           
static IRubyObject RubyObjectSpace.undefine_finalizer(IRubyObject recv, IRubyObject arg1, Block block)
           
static IRubyObject RubyKernel.untrace_var(IRubyObject recv, IRubyObject[] args, Block block)
           
 IRubyObject RubyInteger.upto(ThreadContext context, IRubyObject to, Block block)
          int_upto
 IRubyObject RubyString.upto(ThreadContext context, IRubyObject str, Block block)
          rb_str_upto_m
 IRubyObject RubyString.upto(ThreadContext context, IRubyObject str, boolean excl, Block block)
           
static IRubyObject RubyZlib.RubyGzipFile.wrap(ThreadContext context, IRubyObject recv, IRubyObject io, Block block)
           
 IRubyObject RubyArray.zip(ThreadContext context, IRubyObject[] args, Block block)
          rb_ary_zip
static IRubyObject RubyEnumerable.zip(ThreadContext context, IRubyObject self, IRubyObject[] args, Block block)
           
 

Uses of Block in org.jruby.ast.executable
 

Methods in org.jruby.ast.executable with parameters of type Block
 IRubyObject Script.__file__(ThreadContext context, IRubyObject self, IRubyObject[] args, Block block)
           
 IRubyObject AbstractScript.load(ThreadContext context, IRubyObject self, IRubyObject[] args, Block block)
           
 IRubyObject Script.load(ThreadContext context, IRubyObject self, IRubyObject[] args, Block block)
           
 IRubyObject AbstractScript.run(ThreadContext context, IRubyObject self, IRubyObject[] args, Block block)
           
 IRubyObject Script.run(ThreadContext context, IRubyObject self, IRubyObject[] args, Block block)
           
 

Uses of Block in org.jruby.evaluator
 

Methods in org.jruby.evaluator that return Block
static Block ASTInterpreter.getBlock(Ruby runtime, ThreadContext context, IRubyObject self, Block currentBlock, Node blockNode)
           
 

Methods in org.jruby.evaluator with parameters of type Block
static IRubyObject AssignmentVisitor.assign(Ruby runtime, ThreadContext context, IRubyObject self, Node node, IRubyObject value, Block block, boolean checkArity)
           
static IRubyObject ASTInterpreter.eval(Ruby runtime, ThreadContext context, Node node, IRubyObject self, Block block)
           
static Block ASTInterpreter.getBlock(Ruby runtime, ThreadContext context, IRubyObject self, Block currentBlock, Node blockNode)
           
 

Uses of Block in org.jruby.ext
 

Methods in org.jruby.ext with parameters of type Block
static IRubyObject Generator.current(IRubyObject self, Block block)
           
static IRubyObject Generator.each(IRubyObject self, Block block)
           
static IRubyObject Generator.initialize(IRubyObject self, IRubyObject[] args, Block block)
           
static IRubyObject Generator.new_instance(IRubyObject self, IRubyObject[] args, Block block)
           
static IRubyObject Generator.next(IRubyObject self, Block block)
           
static IRubyObject Generator.rewind(IRubyObject self, Block block)
           
static IRubyObject Readline.HistoryMethods.s_hist_each(IRubyObject recv, Block block)
           
static IRubyObject Generator.yield(IRubyObject self, IRubyObject value, Block block)
           
 

Uses of Block in org.jruby.ext.socket
 

Methods in org.jruby.ext.socket with parameters of type Block
static IRubyObject RubyTCPServer.open(IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyTCPSocket.open(IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject RubyUDPSocket.open(IRubyObject recv, IRubyObject[] args, Block block)
           
 

Uses of Block in org.jruby.internal.runtime
 

Constructors in org.jruby.internal.runtime with parameters of type Block
NativeThread(RubyThread rubyThread, IRubyObject[] args, Block block)
           
RubyNativeThread(RubyThread rubyThread, IRubyObject[] args, Block currentBlock)
           
RubyRunnable(RubyThread rubyThread, IRubyObject[] args, Block currentBlock)
           
 

Uses of Block in org.jruby.internal.runtime.methods
 

Methods in org.jruby.internal.runtime.methods with parameters of type Block
 IRubyObject AliasMethod.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, Block block)
           
 IRubyObject DefaultMethod.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, Block block)
           
 IRubyObject DynamicMethod.call(ThreadContext context, IRubyObject self, RubyModule klazz, java.lang.String name, Block block)
           
abstract  IRubyObject JavaMethod.JavaMethodZeroBlock.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, Block block)
           
 IRubyObject AliasMethod.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject[] args, Block block)
           
 IRubyObject DefaultMethod.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject[] args, Block block)
           
abstract  IRubyObject DynamicMethod.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject[] args, Block block)
          Call the method
 IRubyObject FullFunctionCallbackMethod.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject[] args, Block block)
           
abstract  IRubyObject JavaMethod.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject[] args, Block block)
           
 IRubyObject JavaMethod.JavaMethodNoBlock.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject[] args, Block block)
           
 IRubyObject JavaMethod.JavaMethodZero.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject[] args, Block block)
           
 IRubyObject JavaMethod.JavaMethodZeroOrOne.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject[] args, Block block)
           
 IRubyObject JavaMethod.JavaMethodZeroOrOneOrTwo.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject[] args, Block block)
           
 IRubyObject JavaMethod.JavaMethodZeroBlock.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject[] args, Block block)
           
 IRubyObject JavaMethod.JavaMethodOne.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject[] args, Block block)
           
 IRubyObject JavaMethod.JavaMethodOneOrTwo.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject[] args, Block block)
           
 IRubyObject JavaMethod.JavaMethodOneOrTwoOrThree.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject[] args, Block block)
           
 IRubyObject JavaMethod.JavaMethodOneBlock.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject[] args, Block block)
           
 IRubyObject JavaMethod.JavaMethodOneOrTwoBlock.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject[] args, Block block)
           
 IRubyObject JavaMethod.JavaMethodTwo.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject[] args, Block block)
           
 IRubyObject JavaMethod.JavaMethodTwoOrThree.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject[] args, Block block)
           
 IRubyObject JavaMethod.JavaMethodTwoBlock.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject[] args, Block block)
           
 IRubyObject JavaMethod.JavaMethodThree.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject[] args, Block block)
           
 IRubyObject JavaMethod.JavaMethodThreeBlock.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject[] args, Block block)
           
 IRubyObject MethodMethod.call(ThreadContext context, IRubyObject self, RubyModule klazz, java.lang.String name, IRubyObject[] args, Block block)
           
 IRubyObject ProcMethod.call(ThreadContext context, IRubyObject self, RubyModule klazz, java.lang.String name, IRubyObject[] args, Block block)
           
 IRubyObject ReflectedCompiledMethod.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject[] args, Block block)
           
 IRubyObject ReflectedJavaMethod.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject[] args, Block block)
           
 IRubyObject ReflectedJavaMultiMethod.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject[] args, Block block)
           
 IRubyObject RubiniusMethod.call(ThreadContext context, IRubyObject self, RubyModule klazz, java.lang.String name, IRubyObject[] args, Block block)
           
 IRubyObject SimpleCallbackMethod.call(ThreadContext context, IRubyObject self, RubyModule klazz, java.lang.String name, IRubyObject[] args, Block block)
           
 IRubyObject UndefinedMethod.call(ThreadContext context, IRubyObject self, RubyModule klazz, java.lang.String name, IRubyObject[] args, Block block)
           
 IRubyObject WrapperMethod.call(ThreadContext context, IRubyObject self, RubyModule klazz, java.lang.String name, IRubyObject[] args, Block block)
           
 IRubyObject YARVMethod.call(ThreadContext context, IRubyObject self, RubyModule klazz, java.lang.String name, IRubyObject[] args, Block block)
           
abstract  IRubyObject CompiledMethod.call(ThreadContext context, IRubyObject self, RubyModule klazz, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
 IRubyObject ReflectedCompiledMethod.call(ThreadContext context, IRubyObject self, RubyModule klazz, java.lang.String name, IRubyObject[] args, boolean noSuper, Block block)
           
 IRubyObject DefaultMethod.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject arg0, Block block)
           
 IRubyObject DynamicMethod.call(ThreadContext context, IRubyObject self, RubyModule klazz, java.lang.String name, IRubyObject arg, Block block)
           
abstract  IRubyObject JavaMethod.JavaMethodOneBlock.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject arg, Block block)
           
abstract  IRubyObject JavaMethod.JavaMethodOneOrTwoBlock.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject arg0, Block block)
           
 IRubyObject DefaultMethod.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject arg0, IRubyObject arg1, Block block)
           
 IRubyObject DynamicMethod.call(ThreadContext context, IRubyObject self, RubyModule klazz, java.lang.String name, IRubyObject arg1, IRubyObject arg2, Block block)
           
abstract  IRubyObject JavaMethod.JavaMethodOneOrTwoBlock.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject arg0, IRubyObject arg1, Block block)
           
abstract  IRubyObject JavaMethod.JavaMethodTwoBlock.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject arg1, IRubyObject arg2, Block block)
           
 IRubyObject DefaultMethod.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block block)
           
 IRubyObject DynamicMethod.call(ThreadContext context, IRubyObject self, RubyModule klazz, java.lang.String name, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, Block block)
           
abstract  IRubyObject JavaMethod.JavaMethodThreeBlock.call(ThreadContext context, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, Block block)
           
 IRubyObject DefaultMethod.interpretedCall(ThreadContext context, Ruby runtime, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject[] args, Block block)
           
abstract  void CallConfiguration.pre(ThreadContext context, IRubyObject self, RubyModule implementer, java.lang.String name, Block block, StaticScope scope, JumpTarget jumpTarget)
           
protected  void JavaMethod.pre(ThreadContext context, IRubyObject self, java.lang.String name, Block block)
           
 

Uses of Block in org.jruby.javasupport
 

Methods in org.jruby.javasupport with parameters of type Block
static IRubyObject Java.define_exception_handler(IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject Java.java_to_primitive(IRubyObject recv, IRubyObject object, Block unusedBlock)
           
static IRubyObject Java.java_to_ruby(IRubyObject recv, IRubyObject object, Block unusedBlock)
          High-level object conversion utility function 'java_to_primitive' is the low-level version
static IRubyObject Java.new_proxy_instance(IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject Java.primitive_to_java(IRubyObject recv, IRubyObject object, Block unusedBlock)
           
 IRubyObject JavaObject.ruby_synchronized(ThreadContext context, Block block)
           
static IRubyObject Java.ruby_to_java(IRubyObject recv, IRubyObject object, Block unusedBlock)
          High-level object conversion utility.
 

Uses of Block in org.jruby.javasupport.proxy
 

Methods in org.jruby.javasupport.proxy with parameters of type Block
 RubyObject JavaProxyConstructor.new_instance(IRubyObject[] args, Block block)
           
 RubyObject JavaProxyConstructor.new_instance2(IRubyObject[] args, Block unusedBlock)
           
 

Uses of Block in org.jruby.javasupport.util
 

Methods in org.jruby.javasupport.util that return Block
static Block RuntimeHelpers.createBlock(ThreadContext context, IRubyObject self, int arity, java.lang.String[] staticScopeNames, CompiledBlockCallback callback, boolean hasMultipleArgsHead, int argsNodeType, boolean light)
           
static Block RuntimeHelpers.createSharedScopeBlock(ThreadContext context, IRubyObject self, int arity, CompiledBlockCallback callback, boolean hasMultipleArgsHead, int argsNodeType)
           
static Block RuntimeHelpers.ensureSuperBlock(Block given, Block parent)
           
static Block RuntimeHelpers.getBlockFromBlockPassBody(IRubyObject proc, Block currentBlock)
           
 

Methods in org.jruby.javasupport.util with parameters of type Block
static IRubyObject RuntimeHelpers.breakJumpInWhile(JumpException.BreakJump bj, Block aBlock)
           
static IRubyObject RuntimeHelpers.callMethodMissing(ThreadContext context, IRubyObject receiver, DynamicMethod method, java.lang.String name, int methodIndex, IRubyObject[] args, IRubyObject self, CallType callType, Block block)
           
static IRubyObject RuntimeHelpers.callMethodMissing(ThreadContext context, IRubyObject receiver, DynamicMethod method, java.lang.String name, IRubyObject[] args, IRubyObject self, CallType callType, Block block)
           
static IRubyObject RuntimeHelpers.callZSuper(Ruby runtime, ThreadContext context, Block block, IRubyObject self)
           
static IRubyObject RuntimeHelpers.compilerCallMethod(ThreadContext context, IRubyObject receiver, java.lang.String name, IRubyObject[] args, IRubyObject caller, CallType callType, Block block)
          Used by the compiler to handle visibility
static IRubyObject RuntimeHelpers.compilerCallMethodWithIndex(ThreadContext context, IRubyObject receiver, int methodIndex, java.lang.String name, IRubyObject[] args, IRubyObject caller, CallType callType, Block block)
          Used by the compiler to ease calling indexed methods, also to handle visibility.
static IRubyObject RuntimeHelpers.doAttrAssign(IRubyObject receiver, IRubyObject[] args, ThreadContext context, java.lang.String name, IRubyObject caller, CallType callType, Block block)
           
static IRubyObject RuntimeHelpers.doAttrAssignIndexed(IRubyObject receiver, IRubyObject[] args, ThreadContext context, byte methodIndex, java.lang.String name, IRubyObject caller, CallType callType, Block block)
           
static IRubyObject RuntimeHelpers.doInvokeDynamic(IRubyObject receiver, IRubyObject[] args, ThreadContext context, java.lang.String name, IRubyObject caller, CallType callType, Block block)
           
static IRubyObject RuntimeHelpers.doInvokeDynamicIndexed(IRubyObject receiver, IRubyObject[] args, ThreadContext context, byte methodIndex, java.lang.String name, IRubyObject caller, CallType callType, Block block)
           
static Block RuntimeHelpers.ensureSuperBlock(Block given, Block parent)
           
static Block RuntimeHelpers.getBlockFromBlockPassBody(IRubyObject proc, Block currentBlock)
           
static IRubyObject RuntimeHelpers.invoke(ThreadContext context, IRubyObject self, int methodIndex, java.lang.String name, IRubyObject[] args, CallType callType, Block block)
           
static IRubyObject RuntimeHelpers.invoke(ThreadContext context, IRubyObject self, java.lang.String name, IRubyObject[] args, Block block)
           
static IRubyObject RuntimeHelpers.invoke(ThreadContext context, IRubyObject self, java.lang.String name, IRubyObject[] args, CallType callType, Block block)
           
static IRubyObject RuntimeHelpers.invoke(ThreadContext context, IRubyObject self, java.lang.String name, IRubyObject arg, CallType callType, Block block)
           
static IRubyObject RuntimeHelpers.invokeAs(ThreadContext context, RubyClass asClass, IRubyObject self, java.lang.String name, IRubyObject[] args, CallType callType, Block block)
           
static IRubyObject RuntimeHelpers.processBlockArgument(Ruby runtime, Block block)
           
static void RuntimeHelpers.registerEndBlock(Block block, Ruby runtime)
           
 

Uses of Block in org.jruby.libraries
 

Methods in org.jruby.libraries with parameters of type Block
 IRubyObject FiberLibrary.Fiber.initialize(IRubyObject[] args, Block block)
           
static FiberLibrary.Fiber FiberLibrary.Fiber.newInstance(IRubyObject recv, IRubyObject[] args, Block block)
           
static ThreadLibrary.Mutex ThreadLibrary.Mutex.newInstance(IRubyObject recv, IRubyObject[] args, Block block)
           
static ThreadLibrary.ConditionVariable ThreadLibrary.ConditionVariable.newInstance(IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject ThreadLibrary.Queue.newInstance(IRubyObject recv, IRubyObject[] args, Block block)
           
static IRubyObject ThreadLibrary.SizedQueue.newInstance(IRubyObject recv, IRubyObject[] args, Block block)
           
 IRubyObject ThreadLibrary.Mutex.synchronize(Block block)
           
 

Uses of Block in org.jruby.runtime
 

Fields in org.jruby.runtime declared as Block
static Block Block.NULL_BLOCK
          All Block variables should either refer to a real block or this NULL_BLOCK.
 

Methods in org.jruby.runtime that return Block
 Block Block.cloneBlock()
           
abstract  Block BlockBody.cloneBlock(Binding binding)
           
 Block CallBlock.cloneBlock(Binding binding)
           
 Block CompiledBlock.cloneBlock(Binding binding)
           
 Block CompiledBlockLight.cloneBlock(Binding binding)
           
 Block CompiledSharedScopeBlock.cloneBlock(Binding binding)
           
 Block InterpretedBlock.cloneBlock(Binding binding)
           
 Block MethodBlock.cloneBlock(Binding binding)
           
 Block SharedScopeBlock.cloneBlock(Binding binding)
           
static Block MethodBlock.createMethodBlock(ThreadContext context, DynamicScope dynamicScope, Callback callback, RubyMethod method, IRubyObject self)
           
 Block Frame.getBlock()
          What block is associated with this frame?
 Block ThreadContext.getFrameBlock()
           
static Block CallBlock.newCallClosure(IRubyObject self, RubyModule imClass, Arity arity, BlockCallback callback, ThreadContext context)
           
static Block CompiledBlock.newCompiledClosure(IRubyObject self, Frame frame, Visibility visibility, RubyModule klass, DynamicScope dynamicScope, Arity arity, StaticScope scope, CompiledBlockCallback callback, boolean hasMultipleArgsHead, int argumentType)
           
static Block CompiledBlock.newCompiledClosure(ThreadContext context, IRubyObject self, Arity arity, StaticScope scope, CompiledBlockCallback callback, boolean hasMultipleArgsHead, int argumentType)
           
static Block CompiledBlockLight.newCompiledClosureLight(IRubyObject self, Frame frame, Visibility visibility, RubyModule klass, DynamicScope dynamicScope, Arity arity, StaticScope scope, CompiledBlockCallback callback, boolean hasMultipleArgsHead, int argumentType)
           
static Block CompiledBlockLight.newCompiledClosureLight(ThreadContext context, IRubyObject self, Arity arity, StaticScope scope, CompiledBlockCallback callback, boolean hasMultipleArgsHead, int argumentType)
           
static Block CompiledSharedScopeBlock.newCompiledSharedScopeClosure(ThreadContext context, IRubyObject self, Arity arity, DynamicScope dynamicScope, CompiledBlockCallback callback, boolean hasMultipleArgsHead, int argumentType)
           
static Block InterpretedBlock.newInterpretedClosure(IterNode iterNode, IRubyObject self, Arity arity, Frame frame, Visibility visibility, RubyModule klass, DynamicScope dynamicScope)
           
static Block InterpretedBlock.newInterpretedClosure(ThreadContext context, InterpretedBlock body, IRubyObject self)
           
static Block InterpretedBlock.newInterpretedClosure(ThreadContext context, IterNode iterNode, IRubyObject self)
           
static Block SharedScopeBlock.newInterpretedSharedScopeClosure(ThreadContext context, IterNode iterNode, DynamicScope dynamicScope, IRubyObject self)
           
 

Methods in org.jruby.runtime with parameters of type Block
protected  IRubyObject CallSite.InlineCachingCallSite.cacheAndCall(RubyClass selfType, Block block, IRubyObject[] args, ThreadContext context, IRubyObject self)
           
protected  IRubyObject CallSite.InlineCachingCallSite.cacheAndCall(RubyClass selfType, Block block, ThreadContext context, IRubyObject self)
           
protected  IRubyObject CallSite.InlineCachingCallSite.cacheAndCall(RubyClass selfType, Block block, ThreadContext context, IRubyObject self, IRubyObject arg)
           
protected  IRubyObject CallSite.InlineCachingCallSite.cacheAndCall(RubyClass selfType, Block block, ThreadContext context, IRubyObject self, IRubyObject arg1, IRubyObject arg2)
           
protected  IRubyObject CallSite.InlineCachingCallSite.cacheAndCall(RubyClass selfType, Block block, ThreadContext context, IRubyObject self, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3)
           
 IRubyObject BlockCallback.call(ThreadContext context, IRubyObject[] args, Block block)
           
abstract  IRubyObject CallSite.call(ThreadContext context, IRubyObject self, Block block)
           
 IRubyObject CallSite.InlineCachingCallSite.call(ThreadContext context, IRubyObject self, Block block)
           
abstract  IRubyObject CallSite.call(ThreadContext context, IRubyObject self, IRubyObject[] args, Block block)
           
 IRubyObject CallSite.InlineCachingCallSite.call(ThreadContext context, IRubyObject self, IRubyObject[] args, Block block)
           
abstract  IRubyObject CallSite.call(ThreadContext context, IRubyObject self, IRubyObject arg1, Block block)
           
 IRubyObject CallSite.InlineCachingCallSite.call(ThreadContext context, IRubyObject self, IRubyObject arg1, Block block)
           
abstract  IRubyObject CallSite.call(ThreadContext context, IRubyObject self, IRubyObject arg1, IRubyObject arg2, Block block)
           
 IRubyObject CallSite.InlineCachingCallSite.call(ThreadContext context, IRubyObject self, IRubyObject arg1, IRubyObject arg2, Block block)
           
abstract  IRubyObject CallSite.call(ThreadContext context, IRubyObject self, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, Block block)
           
 IRubyObject CallSite.InlineCachingCallSite.call(ThreadContext context, IRubyObject self, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, Block block)
           
abstract  IRubyObject Dispatcher.callMethod(ThreadContext context, IRubyObject self, RubyClass rubyclass, int methodIndex, java.lang.String name, IRubyObject[] args, CallType callType, Block block)
           
 void ThreadContext.preExecuteUnder(RubyModule executeUnderClass, Block block)
           
 void ThreadContext.preMethodFrameAndScope(RubyModule clazz, java.lang.String name, IRubyObject self, Block block, StaticScope staticScope, JumpTarget jumpTarget)
           
 void ThreadContext.preMethodFrameOnly(RubyModule clazz, java.lang.String name, IRubyObject self, Block block, JumpTarget jumpTarget)
           
 void Frame.updateFrame(RubyModule klazz, IRubyObject self, java.lang.String name, Block block, java.lang.String fileName, int line, JumpTarget jumpTarget)
           
 

Uses of Block in org.jruby.runtime.builtin
 

Methods in org.jruby.runtime.builtin with parameters of type Block
 IRubyObject IRubyObject.callMethod(ThreadContext context, java.lang.String name, IRubyObject[] args, Block block)
           
 IRubyObject IRubyObject.callSuper(ThreadContext context, IRubyObject[] args, Block block)
           
 

Uses of Block in org.jruby.runtime.callback
 

Methods in org.jruby.runtime.callback with parameters of type Block
abstract  IRubyObject InvocationCallback.call(java.lang.Object receiver, java.lang.Object[] args, Block block)
           
 IRubyObject Callback.execute(IRubyObject recv, IRubyObject[] args, Block block)
           
 IRubyObject FastInvocationCallback.execute(IRubyObject recv, IRubyObject[] oargs, Block block)
           
 IRubyObject InvocationCallback.execute(IRubyObject recv, IRubyObject[] oargs, Block block)
           
 IRubyObject ReflectionCallback.execute(IRubyObject recv, IRubyObject[] oargs, Block block)
          Calls a wrapped Ruby method for the specified receiver with the specified arguments.
 

Uses of Block in org.jruby.test
 

Methods in org.jruby.test with parameters of type Block
static void MockRubyObject.throwException(IRubyObject recv, Block block)
           
 



Copyright © 2002-2007 JRuby Team. All Rights Reserved.