Lines Matching refs:to_ary

1665       arg = Opal.to_ary(arg);
1760 Opal.to_ary = function(value) { function
1764 else if (value['$respond_to?']('to_ary', true)) {
1765 var ary = value.$to_ary();
1774 " to Array (" + value.$$class + "#to_ary gives " + ary.$$class + ")");
4603 coerced = $Opal['$coerce_to?'](object, $$$('Array'), "to_ary");
10620 var ary = $Opal['$coerce_to?'](param, $$$('Array'), "to_ary"), key, val;
11117 var array = $Opal.$try_convert(value, $$$('Array'), "to_ary");
11606 …, $truthy = Opal.truthy, $Kernel = Opal.Kernel, $def = Opal.def, $to_ary = Opal.to_ary, $return_se…
11632 …$b = other.$coerce(self), $a = $to_ary($b), (a = ($a[0] == null ? nil : $a[0])), (b = ($a[1] == nu…
12031 …$eqeq = Opal.eqeq, $rb_minus = Opal.rb_minus, $to_a = Opal.to_a, $to_ary = Opal.to_ary, $gvars = O…
12033 …Opal.add_stubs('require,include,to_a,warn,raise,replace,respond_to?,to_ary,coerce_to?,===,join,to_…
12142 } else if (size['$respond_to?']("to_ary")) {
12143 self.$replace(size.$to_ary());
12173 return $Opal['$coerce_to?'](obj, $$$('Array'), "to_ary")
12180 …eq($$$('Array'), other) ? (other.$to_a()) : (($coerce_to(other, $$$('Array'), 'to_ary')).$to_a()));
12202 …eq($$$('Array'), other) ? (other.$to_a()) : (($coerce_to(other, $$$('Array'), 'to_ary')).$to_a()));
12241 …eq($$$('Array'), other) ? (other.$to_a()) : (($coerce_to(other, $$$('Array'), 'to_ary')).$to_a()));
12248 …eq($$$('Array'), other) ? (other.$to_a()) : (($coerce_to(other, $$$('Array'), 'to_ary')).$to_a()));
12285 } else if ($truthy(other['$respond_to?']("to_ary"))) {
12286 other = other.$to_ary().$to_a();
12320 if ($respond_to(other, '$to_ary')) {
12485 else if (value['$respond_to?']("to_ary"))
12486 data = value.$to_ary().$to_a();
12533 else if (value['$respond_to?']("to_ary"))
12534 data = value.$to_ary().$to_a();
12922 …eq($$$('Array'), other) ? (other.$to_a()) : (($coerce_to(other, $$$('Array'), 'to_ary')).$to_a()));
13198 …} $c = args, $b = $to_ary($c), (one = ($b[0] == null ? nil : $b[0])), (two = ($b[1] == null…
13205 …} $c = args, $b = $to_ary($c), (obj = ($b[0] == null ? nil : $b[0])), (one = ($b[1] == null…
13294 if (!$respond_to(item, '$to_ary', true)) {
13299 ary = (item).$to_ary();
13564 if ($respond_to(item, '$to_ary')) {
13565 tmp = (item).$to_ary();
13588 …" + ($$('Opal').$inspect(self.$item())) + " doesn't respond to #to_str, #to_ary or #to_s", "to_str…
13802 arrays[i] = $coerce_to(args[i - 1], $$$('Array'), 'to_ary');
13916 …eq($$$('Array'), other) ? (other.$to_a()) : (($coerce_to(other, $$$('Array'), 'to_ary')).$to_a()));
14444 $def(self, '$to_ary', $return_self);
14457 ary = $Opal['$coerce_to?'](array[i], $$$('Array'), "to_ary");
14484 …row = ($eqeqeq($$$('Array'), row) ? (row.$to_a()) : (($coerce_to(row, $$$('Array'), 'to_ary')).$to…
14652 …others[j] = ($truthy(($ret_or_1 = $Opal['$coerce_to?'](o, $$$('Array'), "to_ary"))) ? ($ret_or_1) …
14754 argv = $Opal['$coerce_to?'](argv['$[]'](0), $$$('Array'), "to_ary");
16129 …q, $return_self = Opal.return_self, $rb_divide = Opal.rb_divide, $to_ary = Opal.to_ary, $rb_times …
16812 …$b = $$$('Math').$frexp(self), $a = $to_ary($b), (f = ($a[0] == null ? nil : $a[0])), (n = ($a[1] …
16864 …} $b = $$$('Math').$frexp(self), $a = $to_ary($b), (($a[0] == null ? nil : $a[0])), (exp = …
16901 …$b = $$$('Math').$frexp(self), $a = $to_ary($b), (f = ($a[0] == null ? nil : $a[0])), (e = ($a[1] …
18003 …eq, $range = Opal.range, $hash2 = Opal.hash2, $eqeq = Opal.eqeq, $to_ary = Opal.to_ary, $rb_gt = O…
18196 …$b = self.read_buffer.$split(sep, 2), $a = $to_ary($b), (ret = ($a[0] == null ? nil : $a[0])), (se…
18450 …d_to?,[],==,length,coerce_to?,nil?,to_a,raise,to_int,fetch,Integer,Float,to_ary,to_str,inspect,to_…
18464 if (($eqeq(args.$length(), 1) && ($truthy(args['$[]'](0)['$respond_to?']("to_ary"))))) {
18466 ary = $Opal['$coerce_to?'](args['$[]'](0), $$$('Array'), "to_ary");
18950 if ((arg)['$respond_to?']("to_ary")) { arg = (arg).$to_ary()[0]; }
19814 …= Opal.rb_minus, $rb_divide = Opal.rb_divide, $eqeq = Opal.eqeq, $to_ary = Opal.to_ary, $rb_gt = O…
19955 …$b = self.$polar(), $a = $to_ary($b), (r = ($a[0] == null ? nil : $a[0])), (theta = ($a[1] == null…
19969 …$b = n.$divmod(2), $a = $to_ary($b), (div = ($a[0] == null ? nil : $a[0])), (mod = ($a[1] == null …
19974 …$b = n.$divmod(2), $a = $to_ary($b), (div = ($a[0] == null ? nil : $a[0])), (mod = ($a[1] == null …
19983 …$b = self.$polar(), $a = $to_ary($b), (r = ($a[0] == null ? nil : $a[0])), (theta = ($a[1] == null…
23499 …l.truthy, $eqeq = Opal.eqeq, $def = Opal.def, $defs = Opal.defs, $to_ary = Opal.to_ary, $slice = O…
23558 $b = r, $a = $to_ary($b), (path = ($a[0] == null ? nil : $a[0]));
23632 …$b = r2, $a = $to_ary($b), (prefix2 = ($a[0] == null ? nil : $a[0])), (basename2 = ($a[1] == null …
23646 …} $b = r1, $a = $to_ary($b), (prefix1 = ($a[0] == null ? nil : $a[0])), (basename1 = ($a[1]…
23764 …$b = r, $a = $to_ary($b), (dest_prefix = ($a[0] == null ? nil : $a[0])), (basename = ($a[1] == nul…
23771 …$b = r, $a = $to_ary($b), (base_prefix = ($a[0] == null ? nil : $a[0])), (basename = ($a[1] == nul…