Lines Matching refs:to_proc

3247 …Opal.add_stubs('module_eval,to_proc,===,raise,equal?,<,>,nil?,attr_reader,attr_writer,warn,attr_ac…
3271 return $send(self, 'module_eval', [], block.$to_proc())
3702 …_2 = method)) ? (method) : ($eqeqeq($$$('Method'), $ret_or_2) ? (method.$to_proc().$$unbound) : ($…
4142 $send(m, 'class_exec', [], block.$to_proc());
4190 …Opal.add_stubs('require,class_eval,to_proc,+,subclasses,flatten,map,initialize_copy,allocate,name,…
4211 ((block !== nil) ? ($send((klass), 'class_eval', [], block.$to_proc())) : nil);
4228 …plus(self.$subclasses(), $send(self.$subclasses(), 'map', [], "descendants".$to_proc()).$flatten())
4515 …alize_clone,frozen?,freeze,initialize_copy,define_method,singleton_class,to_proc,initialize_dup,fo…
4750 return $send(self.$singleton_class(), 'define_method', [name, method], block.$to_proc());
4777 return $send($$$('Enumerator'), 'for', [self, method].concat($to_a(args)), block.$to_proc());
5461 $def(self, '$to_proc', $return_self);
5504 return $send($$$('File'), 'open', $to_a(args), block.$to_proc());
6431 …ew,join,coerce_to!,!,match,coerce_to?,begin,frozen?,uniq,map,scan,source,to_proc,transform_values,…
6723 …<(\w+)>/, $hash2(["no_matchdata"], {"no_matchdata": true})), 'map', [], "first".$to_proc()).$uniq()
6729 …"no_matchdata": true})), 'map', [], "first".$to_proc()).$each_with_index(), 'group_by', [], "first…
6996 …,initialize_clone,initialize_dup,enum_for,chomp,[],to_i,length,each_line,to_proc,to_a,match,match?…
7757 … e = $send(self, 'each_line', [separator, $hash2(["chomp"], {"chomp": chomp})], block.$to_proc());
7811 } return $send(pattern, 'match', [self, pos], block.$to_proc());
8463 $def(self, '$to_proc', function $$to_proc() {
8466 $$to_proc.$$p = null;
9058 …o_enum,enumerator_size,new,yield,raise,slice_when,!,enum_for,flatten,map,to_proc,compact,to_a,warn…
9263 } return $send(self, 'map', [], block.$to_proc()).$flatten(1);
9625 … } return $send($send(self, 'map', [], block.$to_proc()), 'select', [], "itself".$to_proc());
9935 return $send(self, 'sort', [], block.$to_proc()).$reverse().$first(n);
9948 return $send(self, 'sort_by', [], block.$to_proc()).$reverse().$take(n)
10042 return $send(self, 'sort_by', [], block.$to_proc()).$take(n)
10496 } return $send(ary, 'sort', [], block.$to_proc());
10602 …out = $send($send(self, 'group_by', [], "itself".$to_proc()), 'transform_values', [], "count".$to_…
10623 return $send($send(self, 'map', [], block.$to_proc()), 'to_h', $to_a(args))
10655 return $send(klass, 'new', [self].concat($to_a(args)), block.$to_proc());
10874 Opal.add_stubs('to_enum,size,each,<<,to_proc,include?,+,reverse_each,respond_to?,rewind,inspect');
10915 return $send(enum$, 'each', $to_a(args), block.$to_proc());}, {$$s: self});
10968 Opal.add_stubs('include,raise,new,to_proc');
10998 yielder = $send($$('Yielder'), 'new', [], block.$to_proc());
11022 …each,new,enumerator_size,yield,respond_to?,try_convert,<,===,+,for,class,to_proc,destructure,inspe…
11200 return $send(self.$class(), 'for', [self, method].concat($to_a(args)), block.$to_proc());
11395 return $def(self, '$to_proc', function $$to_proc() {
11412 …Opal.add_stubs('require,include,allocate,new,to_proc,!,respond_to?,empty?,nil?,+,class,__send__,ca…
11453 self.object = $send($$('Generator'), 'new', [], block.$to_proc());
11480 … } return $send(self.object, '__send__', [self.method].concat($to_a(args)), block.$to_proc());
11617 …ero?,numerator,abs,arg,coerce_to!,round,<=>,compare,is_a?,!,new,enum_for,to_proc,negative?,>=,<=,+…
11915 return $send(self, 'enum_for', ["step", limit, step], (stepSize).$to_proc())
12042 …=,join,to_str,hash,<=>,==,object_id,inspect,enum_for,class,bsearch_index,to_proc,nil?,coerce_to!,>…
12670 } index = $send(self, 'bsearch_index', [], block.$to_proc());
13654 return $send(self.$each(), 'max', [n], block.$to_proc());
13661 return $send(self.$each(), 'min', [], block.$to_proc());
13913 $send(self, 'delete_if', [], block.$to_proc());
13953 } $send(self.$reverse(), 'each', [], block.$to_proc());
14199 $send(self, 'keep_if', [], block.$to_proc());
14380 result = $send((self.slice()), 'sort', [], block.$to_proc());
14403 return self.$replace($send(self, 'sort_by', [], block.$to_proc()));
14461 array = $send(array, 'map', [], block.$to_proc());
14737 …y,enum_for,size,respond_to?,class,dig,except!,dup,delete,new,inspect,map,to_proc,flatten,frozen?,e…
15130 proc = $Opal['$coerce_to!'](proc, $$$('Proc'), "to_proc");
15334 return $send(self, 'fetch', [key], block.$to_proc());}, {$$s: self});
15633 return $send(self.$dup(), 'merge!', $to_a(others), block.$to_proc());
15952 return $send(self, 'map', [], block.$to_proc()).$to_h()
15968 $def(self, '$to_proc', function $$to_proc() {
17214 …re,include,attr_reader,raise,nil?,<=>,include?,!,<,<=,enum_for,size,upto,to_proc,respond_to?,class…
17310 $send(self.begin, 'upto', [self.end, self.excl], block.$to_proc());
17535 } return $send(self.$to_a(), 'bsearch', [], block.$to_proc());
17573 Opal.add_stubs('raise,proc,call,to_proc,new,source_location,coerce_to!,dup');
17644 out = $send(self, 'call', $to_a(args), block.$to_proc());
17657 out = $send(other, 'call', $to_a(args), block.$to_proc());
17661 $def(self, '$to_proc', $return_self);
17804 ….add_stubs('attr_reader,arity,curry,>>,<<,new,class,join,source_location,call,raise,bind,to_proc');
17892 $def(self, '$to_proc', function $$to_proc() {
17983 return $send(self.$bind(object), 'call', $to_a(args), block.$to_proc());
19021 …Opal.add_stubs('require,+,[],clone,initialize,new,instance_eval,to_proc,each,const_set,tr,==,defau…
19046 $send(encoding, 'instance_eval', [], block.$to_proc());
19384 } $send(self.internal_encoding, 'each_byte', [self], block.$to_proc());
19408 } $send(self.encoding, 'each_char', [self], block.$to_proc());
19418 } return $send(self, 'each_char', [], block.$to_proc());
19439 return $send(self, 'each_codepoint', [], block.$to_proc())
21539 …ach,define_struct_attribute,allocate,initialize,alias_method,module_eval,to_proc,const_set,raise,<…
21607 $send(klass, 'module_eval', [], block.$to_proc());
21912 return $send($send(self, 'map', [], block.$to_proc()), 'to_h', $to_a(self.$args()))
21966 …,name,compare_by_identity?,delete,select,frozen?,freeze,reject,delete_if,to_proc,keep_if,each_key,…
22183 $send(self, 'delete_if', [], block.$to_proc());
22197 $send(self, 'keep_if', [], block.$to_proc());
22220 } $send(self.hash, 'each_key', [], block.$to_proc());
22450 …y?,rindex,[],length,nil?,gsub,find,=~,map,each_with_index,flatten,reject,to_proc,end_with?,expand_…
22681 paths = $send(paths, 'reject', [], "empty?".$to_proc());
22806 …ncode,strict_encode64,random_bytes,urlsafe_encode64,split,hex,[]=,[],map,to_proc,join,times,<<,|,o…
22868 str = $send(str, 'map', [], "join".$to_proc());
22953 …alse), $range("a", "z", false), $range("A", "Z", false)], 'map', [], "to_a".$to_proc()).$flatten();
23419 …y?,rindex,[],length,nil?,gsub,find,=~,map,each_with_index,flatten,reject,to_proc,end_with?,expand_…
23650 paths = $send(paths, 'reject', [], "empty?".$to_proc());
23681 …ants,raise,warn,const_get,new,size,delete,respond_to?,path,join,call,map,to_proc,start_with?,first…
23863 paths = $send(paths, 'map', [], "to_s".$to_proc());