Lines Matching refs:to_proc

3238 …Opal.add_stubs('module_eval,to_proc,===,raise,equal?,<,>,nil?,attr_reader,attr_writer,warn,attr_ac…
3262 return $send(self, 'module_eval', [], block.$to_proc())
3693 …_2 = method)) ? (method) : ($eqeqeq($$$('Method'), $ret_or_2) ? (method.$to_proc().$$unbound) : ($…
4133 $send(m, 'class_exec', [], block.$to_proc());
4181 …Opal.add_stubs('require,class_eval,to_proc,+,subclasses,flatten,map,initialize_copy,allocate,name,…
4202 ((block !== nil) ? ($send((klass), 'class_eval', [], block.$to_proc())) : nil);
4219 …plus(self.$subclasses(), $send(self.$subclasses(), 'map', [], "descendants".$to_proc()).$flatten())
4506 …alize_clone,frozen?,freeze,initialize_copy,define_method,singleton_class,to_proc,initialize_dup,fo…
4741 return $send(self.$singleton_class(), 'define_method', [name, method], block.$to_proc());
4768 return $send($$$('Enumerator'), 'for', [self, method].concat($to_a(args)), block.$to_proc());
5452 $def(self, '$to_proc', $return_self);
5495 return $send($$$('File'), 'open', $to_a(args), block.$to_proc());
6422 …ew,join,coerce_to!,!,match,coerce_to?,begin,frozen?,uniq,map,scan,source,to_proc,transform_values,…
6714 …<(\w+)>/, $hash2(["no_matchdata"], {"no_matchdata": true})), 'map', [], "first".$to_proc()).$uniq()
6720 …"no_matchdata": true})), 'map', [], "first".$to_proc()).$each_with_index(), 'group_by', [], "first…
6987 …,initialize_clone,initialize_dup,enum_for,chomp,[],to_i,length,each_line,to_proc,to_a,match,match?…
7748 … e = $send(self, 'each_line', [separator, $hash2(["chomp"], {"chomp": chomp})], block.$to_proc());
7802 } return $send(pattern, 'match', [self, pos], block.$to_proc());
8454 $def(self, '$to_proc', function $$to_proc() {
8457 $$to_proc.$$p = null;
9049 …o_enum,enumerator_size,new,yield,raise,slice_when,!,enum_for,flatten,map,to_proc,compact,to_a,warn…
9254 } return $send(self, 'map', [], block.$to_proc()).$flatten(1);
9616 … } return $send($send(self, 'map', [], block.$to_proc()), 'select', [], "itself".$to_proc());
9926 return $send(self, 'sort', [], block.$to_proc()).$reverse().$first(n);
9939 return $send(self, 'sort_by', [], block.$to_proc()).$reverse().$take(n)
10033 return $send(self, 'sort_by', [], block.$to_proc()).$take(n)
10487 } return $send(ary, 'sort', [], block.$to_proc());
10593 …out = $send($send(self, 'group_by', [], "itself".$to_proc()), 'transform_values', [], "count".$to_…
10614 return $send($send(self, 'map', [], block.$to_proc()), 'to_h', $to_a(args))
10646 return $send(klass, 'new', [self].concat($to_a(args)), block.$to_proc());
10865 Opal.add_stubs('to_enum,size,each,<<,to_proc,include?,+,reverse_each,respond_to?,rewind,inspect');
10906 return $send(enum$, 'each', $to_a(args), block.$to_proc());}, {$$s: self});
10959 Opal.add_stubs('include,raise,new,to_proc');
10989 yielder = $send($$('Yielder'), 'new', [], block.$to_proc());
11013 …each,new,enumerator_size,yield,respond_to?,try_convert,<,===,+,for,class,to_proc,destructure,inspe…
11191 return $send(self.$class(), 'for', [self, method].concat($to_a(args)), block.$to_proc());
11386 return $def(self, '$to_proc', function $$to_proc() {
11403 …Opal.add_stubs('require,include,allocate,new,to_proc,!,respond_to?,empty?,nil?,+,class,__send__,ca…
11444 self.object = $send($$('Generator'), 'new', [], block.$to_proc());
11471 … } return $send(self.object, '__send__', [self.method].concat($to_a(args)), block.$to_proc());
11608 …ero?,numerator,abs,arg,coerce_to!,round,<=>,compare,is_a?,!,new,enum_for,to_proc,negative?,>=,<=,+…
11906 return $send(self, 'enum_for', ["step", limit, step], (stepSize).$to_proc())
12033 …=,join,to_str,hash,<=>,==,object_id,inspect,enum_for,class,bsearch_index,to_proc,nil?,coerce_to!,>…
12661 } index = $send(self, 'bsearch_index', [], block.$to_proc());
13645 return $send(self.$each(), 'max', [n], block.$to_proc());
13652 return $send(self.$each(), 'min', [], block.$to_proc());
13904 $send(self, 'delete_if', [], block.$to_proc());
13944 } $send(self.$reverse(), 'each', [], block.$to_proc());
14190 $send(self, 'keep_if', [], block.$to_proc());
14371 result = $send((self.slice()), 'sort', [], block.$to_proc());
14394 return self.$replace($send(self, 'sort_by', [], block.$to_proc()));
14452 array = $send(array, 'map', [], block.$to_proc());
14728 …y,enum_for,size,respond_to?,class,dig,except!,dup,delete,new,inspect,map,to_proc,flatten,frozen?,e…
15121 proc = $Opal['$coerce_to!'](proc, $$$('Proc'), "to_proc");
15325 return $send(self, 'fetch', [key], block.$to_proc());}, {$$s: self});
15624 return $send(self.$dup(), 'merge!', $to_a(others), block.$to_proc());
15943 return $send(self, 'map', [], block.$to_proc()).$to_h()
15959 $def(self, '$to_proc', function $$to_proc() {
17205 …re,include,attr_reader,raise,nil?,<=>,include?,!,<,<=,enum_for,size,upto,to_proc,respond_to?,class…
17301 $send(self.begin, 'upto', [self.end, self.excl], block.$to_proc());
17526 } return $send(self.$to_a(), 'bsearch', [], block.$to_proc());
17564 Opal.add_stubs('raise,proc,call,to_proc,new,source_location,coerce_to!,dup');
17635 out = $send(self, 'call', $to_a(args), block.$to_proc());
17648 out = $send(other, 'call', $to_a(args), block.$to_proc());
17652 $def(self, '$to_proc', $return_self);
17795 ….add_stubs('attr_reader,arity,curry,>>,<<,new,class,join,source_location,call,raise,bind,to_proc');
17883 $def(self, '$to_proc', function $$to_proc() {
17974 return $send(self.$bind(object), 'call', $to_a(args), block.$to_proc());
19012 …Opal.add_stubs('require,+,[],clone,initialize,new,instance_eval,to_proc,each,const_set,tr,==,defau…
19037 $send(encoding, 'instance_eval', [], block.$to_proc());
19375 } $send(self.internal_encoding, 'each_byte', [self], block.$to_proc());
19399 } $send(self.encoding, 'each_char', [self], block.$to_proc());
19409 } return $send(self, 'each_char', [], block.$to_proc());
19430 return $send(self, 'each_codepoint', [], block.$to_proc())
21530 …ach,define_struct_attribute,allocate,initialize,alias_method,module_eval,to_proc,const_set,raise,<…
21598 $send(klass, 'module_eval', [], block.$to_proc());
21903 return $send($send(self, 'map', [], block.$to_proc()), 'to_h', $to_a(self.$args()))
21957 …,name,compare_by_identity?,delete,select,frozen?,freeze,reject,delete_if,to_proc,keep_if,each_key,…
22174 $send(self, 'delete_if', [], block.$to_proc());
22188 $send(self, 'keep_if', [], block.$to_proc());
22211 } $send(self.hash, 'each_key', [], block.$to_proc());
22441 …y?,rindex,[],length,nil?,gsub,find,=~,map,each_with_index,flatten,reject,to_proc,end_with?,expand_…
22672 paths = $send(paths, 'reject', [], "empty?".$to_proc());
22797 …ncode,strict_encode64,random_bytes,urlsafe_encode64,split,hex,[]=,[],map,to_proc,join,times,<<,|,o…
22859 str = $send(str, 'map', [], "join".$to_proc());
22944 …alse), $range("a", "z", false), $range("A", "Z", false)], 'map', [], "to_a".$to_proc()).$flatten();