File: //usr/local/rvm/gems/ruby-2.5.9/doc/concurrent-ruby-1.1.9/ri/Concurrent/Async/validate_argc-c.ri
U:RDoc::AnyMethod[iI"validate_argc:ETI"%Concurrent::Async::validate_argc;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"NCheck for the presence of a method on an object and determine if a given ;TI"1set of arguments matches the required arity.;To:RDoc::Markup::BlankLine o;
; [I"5@param [Object] obj the object to check against ;TI"?@param [Symbol] method the method to check the object for ;TI"C@param [Array] args zero or more arguments for the arity check;T@o;
; [I"G@raise [NameError] the object does not respond to `method` method ;TI"O@raise [ArgumentError] the given `args` do not match the arity of `method`;T@o;
; [I"O@note This check is imperfect because of the way Ruby reports the arity of;To:RDoc::Markup::Verbatim; [ I"Nmethods with a variable number of arguments. It is possible to determine
;TI"Lif too few arguments are given but impossible to determine if too many
;TI"Qarguments are given. This check may also fail to recognize dynamic behavior
;TI"Eof the object, such as methods simulated with `method_missing`.
;T:@format0o;
; [I"U@see http://www.ruby-doc.org/core-2.1.1/Method.html#method-i-arity Method#arity ;TI"_@see http://ruby-doc.org/core-2.1.0/Object.html#method-i-respond_to-3F Object#respond_to? ;TI"p@see http://www.ruby-doc.org/core-2.1.0/BasicObject.html#method-i-method_missing BasicObject#method_missing;T@o;
; [I"@!visibility private;T:
@fileI",lib/concurrent-ruby/concurrent/async.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(obj, method, *args);T@*FI"
Async;TcRDoc::NormalModule00