Lines Matching refs:define_method
1646 … "implicit argument passing of super from method defined by define_method() is not supported. " +
1974 // instance. This can get called by `Module#define_method` as well.
1988 // defined indirectly; either through `Module#define_method`, or by a
3013 Opal.top.$define_method = top_define_method;
3015 // Foward calls to define_method on the top object to Object
3020 return Opal.send(_Object, 'define_method', args, block)
3692 $def(self, '$define_method', function $$define_method(name, method) {
3693 var block = $$define_method.$$p || nil, self = this, $ret_or_1 = nil, $ret_or_2 = nil;
3695 $$define_method.$$p = null;
4515 …opy_singleton_methods,initialize_clone,frozen?,freeze,initialize_copy,define_method,singleton_clas…
4750 return $send(self.$singleton_class(), 'define_method', [name, method], block.$to_proc());
19491 …Opal.add_stubs('new,raise,Float,Integer,module_function,each,define_method,checked,float!,===,gamm…
19600 return $send(self, 'define_method', [method], function $$4(x){
20698 …ond_to?,to_str,to_i,_parse_offset,new,<=>,to_f,nil?,>,<,strftime,each,define_method,year,month,day…
21058 …return $send(self, 'define_method', [method], function $$7(){var self = $$7.$$s == null ? this : $…
21110 …return $send(self, 'define_method', [method], function $$10(){var self = $$10.$$s == null ? this :…
21539 …nitialize,alias_method,module_eval,to_proc,const_set,raise,<<,members,define_method,instance_eval,…
21620 … $send(self, 'define_method', [name], function $$6(){var self = $$6.$$s == null ? this : $$6.$$s;
21623 …return $send(self, 'define_method', ["" + (name) + "="], function $$7(value){var self = $$7.$$s ==…
23189 …Opal.add_stubs('raise,warn,each,define_method,%,public,private_method_defined?,private_class_metho…
23224 return $send(self, 'define_method', [method_name], function $$2($a){