Lines Matching refs:to_ary

1674       arg = Opal.to_ary(arg);
1769 Opal.to_ary = function(value) {
1773 else if (value['$respond_to?']('to_ary', true)) {
1774 var ary = value.$to_ary();
1783 " to Array (" + value.$$class + "#to_ary gives " + ary.$$class + ")");
4612 coerced = $Opal['$coerce_to?'](object, $$$('Array'), "to_ary");
10629 var ary = $Opal['$coerce_to?'](param, $$$('Array'), "to_ary"), key, val;
11126 var array = $Opal.$try_convert(value, $$$('Array'), "to_ary");
11615 …, $truthy = Opal.truthy, $Kernel = Opal.Kernel, $def = Opal.def, $to_ary = Opal.to_ary, $return_se…
11641 …$b = other.$coerce(self), $a = $to_ary($b), (a = ($a[0] == null ? nil : $a[0])), (b = ($a[1] == nu…
12040 …$eqeq = Opal.eqeq, $rb_minus = Opal.rb_minus, $to_a = Opal.to_a, $to_ary = Opal.to_ary, $gvars = O…
12042 …Opal.add_stubs('require,include,to_a,warn,raise,replace,respond_to?,to_ary,coerce_to?,===,join,to_…
12151 } else if (size['$respond_to?']("to_ary")) {
12152 self.$replace(size.$to_ary());
12182 return $Opal['$coerce_to?'](obj, $$$('Array'), "to_ary")
12189 …eq($$$('Array'), other) ? (other.$to_a()) : (($coerce_to(other, $$$('Array'), 'to_ary')).$to_a()));
12211 …eq($$$('Array'), other) ? (other.$to_a()) : (($coerce_to(other, $$$('Array'), 'to_ary')).$to_a()));
12250 …eq($$$('Array'), other) ? (other.$to_a()) : (($coerce_to(other, $$$('Array'), 'to_ary')).$to_a()));
12257 …eq($$$('Array'), other) ? (other.$to_a()) : (($coerce_to(other, $$$('Array'), 'to_ary')).$to_a()));
12294 } else if ($truthy(other['$respond_to?']("to_ary"))) {
12295 other = other.$to_ary().$to_a();
12329 if ($respond_to(other, '$to_ary')) {
12494 else if (value['$respond_to?']("to_ary"))
12495 data = value.$to_ary().$to_a();
12542 else if (value['$respond_to?']("to_ary"))
12543 data = value.$to_ary().$to_a();
12931 …eq($$$('Array'), other) ? (other.$to_a()) : (($coerce_to(other, $$$('Array'), 'to_ary')).$to_a()));
13207 …} $c = args, $b = $to_ary($c), (one = ($b[0] == null ? nil : $b[0])), (two = ($b[1] == null…
13214 …} $c = args, $b = $to_ary($c), (obj = ($b[0] == null ? nil : $b[0])), (one = ($b[1] == null…
13303 if (!$respond_to(item, '$to_ary', true)) {
13308 ary = (item).$to_ary();
13573 if ($respond_to(item, '$to_ary')) {
13574 tmp = (item).$to_ary();
13597 …" + ($$('Opal').$inspect(self.$item())) + " doesn't respond to #to_str, #to_ary or #to_s", "to_str…
13811 arrays[i] = $coerce_to(args[i - 1], $$$('Array'), 'to_ary');
13925 …eq($$$('Array'), other) ? (other.$to_a()) : (($coerce_to(other, $$$('Array'), 'to_ary')).$to_a()));
14453 $def(self, '$to_ary', $return_self);
14466 ary = $Opal['$coerce_to?'](array[i], $$$('Array'), "to_ary");
14493 …row = ($eqeqeq($$$('Array'), row) ? (row.$to_a()) : (($coerce_to(row, $$$('Array'), 'to_ary')).$to…
14661 …others[j] = ($truthy(($ret_or_1 = $Opal['$coerce_to?'](o, $$$('Array'), "to_ary"))) ? ($ret_or_1) …
14763 argv = $Opal['$coerce_to?'](argv['$[]'](0), $$$('Array'), "to_ary");
16138 …q, $return_self = Opal.return_self, $rb_divide = Opal.rb_divide, $to_ary = Opal.to_ary, $rb_times …
16821 …$b = $$$('Math').$frexp(self), $a = $to_ary($b), (f = ($a[0] == null ? nil : $a[0])), (n = ($a[1] …
16873 …} $b = $$$('Math').$frexp(self), $a = $to_ary($b), (($a[0] == null ? nil : $a[0])), (exp = …
16910 …$b = $$$('Math').$frexp(self), $a = $to_ary($b), (f = ($a[0] == null ? nil : $a[0])), (e = ($a[1] …
18012 …eq, $range = Opal.range, $hash2 = Opal.hash2, $eqeq = Opal.eqeq, $to_ary = Opal.to_ary, $rb_gt = O…
18205 …$b = self.read_buffer.$split(sep, 2), $a = $to_ary($b), (ret = ($a[0] == null ? nil : $a[0])), (se…
18459 …d_to?,[],==,length,coerce_to?,nil?,to_a,raise,to_int,fetch,Integer,Float,to_ary,to_str,inspect,to_…
18473 if (($eqeq(args.$length(), 1) && ($truthy(args['$[]'](0)['$respond_to?']("to_ary"))))) {
18475 ary = $Opal['$coerce_to?'](args['$[]'](0), $$$('Array'), "to_ary");
18959 if ((arg)['$respond_to?']("to_ary")) { arg = (arg).$to_ary()[0]; }
19823 …= Opal.rb_minus, $rb_divide = Opal.rb_divide, $eqeq = Opal.eqeq, $to_ary = Opal.to_ary, $rb_gt = O…
19964 …$b = self.$polar(), $a = $to_ary($b), (r = ($a[0] == null ? nil : $a[0])), (theta = ($a[1] == null…
19978 …$b = n.$divmod(2), $a = $to_ary($b), (div = ($a[0] == null ? nil : $a[0])), (mod = ($a[1] == null …
19983 …$b = n.$divmod(2), $a = $to_ary($b), (div = ($a[0] == null ? nil : $a[0])), (mod = ($a[1] == null …
19992 …$b = self.$polar(), $a = $to_ary($b), (r = ($a[0] == null ? nil : $a[0])), (theta = ($a[1] == null…
24550 …l.truthy, $eqeq = Opal.eqeq, $def = Opal.def, $defs = Opal.defs, $to_ary = Opal.to_ary, $slice = O…
24609 $b = r, $a = $to_ary($b), (path = ($a[0] == null ? nil : $a[0]));
24683 …$b = r2, $a = $to_ary($b), (prefix2 = ($a[0] == null ? nil : $a[0])), (basename2 = ($a[1] == null …
24697 …} $b = r1, $a = $to_ary($b), (prefix1 = ($a[0] == null ? nil : $a[0])), (basename1 = ($a[1]…
24815 …$b = r, $a = $to_ary($b), (dest_prefix = ($a[0] == null ? nil : $a[0])), (basename = ($a[1] == nul…
24822 …$b = r, $a = $to_ary($b), (base_prefix = ($a[0] == null ? nil : $a[0])), (basename = ($a[1] == nul…
25130 …l.truthy, $eqeq = Opal.eqeq, $def = Opal.def, $defs = Opal.defs, $to_ary = Opal.to_ary, $slice = O…
25189 $b = r, $a = $to_ary($b), (path = ($a[0] == null ? nil : $a[0]));
25263 …$b = r2, $a = $to_ary($b), (prefix2 = ($a[0] == null ? nil : $a[0])), (basename2 = ($a[1] == null …
25277 …} $b = r1, $a = $to_ary($b), (prefix1 = ($a[0] == null ? nil : $a[0])), (basename1 = ($a[1]…
25395 …$b = r, $a = $to_ary($b), (dest_prefix = ($a[0] == null ? nil : $a[0])), (basename = ($a[1] == nul…
25402 …$b = r, $a = $to_ary($b), (base_prefix = ($a[0] == null ? nil : $a[0])), (basename = ($a[1] == nul…