Lines Matching refs:truthy
192 var $truthy = Opal.truthy = function(val) {
197 return !$truthy(val);
2866 // Optimized helpers for calls like $truthy((a)['$==='](b)) -> $eqeqeq(a, b)
2873 return are_both_numbers_or_strings(lhs,rhs) ? lhs === rhs : $truthy((lhs)['$=='](rhs));
2876 return are_both_numbers_or_strings(lhs,rhs) ? lhs === rhs : $truthy((lhs)['$==='](rhs));
2879 return are_both_numbers_or_strings(lhs,rhs) ? lhs !== rhs : $truthy((lhs)['$!='](rhs));
2884 return $truthy(arg['$!']());
3053 …lice = Opal.slice, $eqeqeq = Opal.eqeqeq, $Kernel = Opal.Kernel, $truthy = Opal.truthy, $Opal = Op…
3082 if (!$truthy(object['$respond_to?'](method))) {
3085 if ($truthy(coerced['$nil?']())) {
3096 } if ($truthy(object['$respond_to?'](method))) {
3106 if ($truthy(compare === nil)) {
3141 if (!$truthy(/^@[a-zA-Z_][a-zA-Z0-9_]*?$/.test(name))) {
3149 if ($truthy(name.length < 3 || name.slice(0,2) !== '@@')) {
3167 if ($truthy((($$$('::', 'String', 'skip_raise')) ? 'constant' : nil))) {
3245 …var $truthy = Opal.truthy, $coerce_to = Opal.coerce_to, $const_set = Opal.const_set, $Object = Opa…
3280 if ($truthy(object == null)) {
3317 if ($truthy(($ret_or_1 = self['$equal?'](other)))) {
3336 if ($truthy(($ret_or_1 = self['$equal?'](other)))) {
3354 if ($truthy(lt['$nil?']())) {
3356 } if ($truthy(lt)) {
3613 if (!$truthy(name['$=~']($$$($Opal, 'CONST_NAME_REGEXP')))) {
3654 if ($truthy(name.indexOf('::') != -1 && name != '::')) {
3660 } if (!$truthy(name['$=~']($$$($Opal, 'CONST_NAME_REGEXP')))) {
3684 …if (($truthy(name['$!~']($$$($Opal, 'CONST_NAME_REGEXP'))) || ($truthy(name['$start_with?']("::"))…
3702 …block = ($truthy(($ret_or_1 = block)) ? ($ret_or_1) : ($eqeqeq($$$('Proc'), ($ret_or_2 = method)) …
3741 if ($truthy(self['$frozen?']())) {
3841 if ($truthy(include_super)) {
3886 if (($truthy(block['$nil?']()) && ($truthy(!!Opal.compile)))) {
3888 if (!$truthy($range(1, 3, false)['$cover?'](args.$size()))) {
3891 …default_eval_options = $hash2(["file", "eval"], {"file": ($truthy(($ret_or_1 = file)) ? ($ret_or_1…
3897 } else if ($truthy(args['$any?']())) {
4047 if ($truthy(($ret_or_1 = Opal.Module.$name.call(self)))) {
4178 if ($truthy(self.refinement_module)) {
4317 … = Opal.alias, $return_val = Opal.return_val, $Opal = Opal.Opal, $truthy = Opal.truthy, $range = O…
4401 if (($truthy(block['$nil?']()) && ($truthy(!!Opal.compile)))) {
4403 if (!$truthy($range(1, 3, false)['$cover?'](args.$size()))) {
4406 …default_eval_options = $hash2(["file", "eval"], {"file": ($truthy(($ret_or_1 = file)) ? ($ret_or_1…
4412 …} else if ((($truthy(block['$nil?']()) && ($truthy($rb_ge(args.$length(), 1)))) && ($eqeq(args.$fi…
4414 } else if ($truthy(args['$any?']())) {
4449 if (!$truthy(block)) {
4513 …var $truthy = Opal.truthy, $coerce_to = Opal.coerce_to, $respond_to = Opal.respond_to, $Opal = Opa…
4535 if ($truthy(($ret_or_1 = self.$object_id()['$=='](other.$object_id())))) {
4579 if ($truthy(all)) {
4592 if ($truthy(all)) {
4627 $gvars.__at_exit__ = ($truthy(($ret_or_1 = $gvars.__at_exit__)) ? ($ret_or_1) : ([]));
4725 if (!(($truthy(freeze['$nil?']()) || ($eqeq(freeze, true))) || ($eqeq(freeze, false)))) {
4731 … if (($eqeq(freeze, true) || (($truthy(freeze['$nil?']()) && ($truthy(self['$frozen?']())))))) {
4792 $gvars.__at_exit__ = ($truthy(($ret_or_1 = $gvars.__at_exit__)) ? ($ret_or_1) : ([]));
4793 while (!($truthy($gvars.__at_exit__['$empty?']()))) {
4841 if ($truthy(self['$frozen?']())) {
4896 if ($truthy((inspect_stack)['$include?'](id))) {
4919 ($truthy(pushed) ? ((inspect_stack).$pop()) : nil);
5122 if (($truthy(arg['$nil?']()) || ($eqeq(arg, [])))) {
5164 } while ($truthy(true)) {
5185 if ($truthy(args['$any?']())) {
5194 if (!$truthy(block)) {
5221 if ($truthy($rb_le(args.$length(), 1))) {
5259 if ($truthy(uplevel)) {
5262 if ($truthy($rb_lt(uplevel, 0))) {
5265 if ($truthy(location)) {
5271 } if (($truthy($gvars.VERBOSE['$nil?']()) || ($truthy(strs['$empty?']())))) {
5446 if ($truthy(($ret_or_1 = $Opal['$coerce_to?'](str, $$$('String'), "to_str")))) {
5477 tag = ($truthy(($ret_or_1 = tag)) ? ($ret_or_1) : ($Object.$new()));
5563 …var $module = Opal.module, $truthy = Opal.truthy, $rb_plus = Opal.rb_plus, $send2 = Opal.send2, $f…
5595 if ($truthy(name)) {
5621 …pal.defs, $send = Opal.send, $to_a = Opal.to_a, $def = Opal.def, $truthy = Opal.truthy, $hash2 = O…
5777 if (!$truthy((($$('Hash', 'skip_raise')) ? 'constant' : nil))) {
5779 …der"], {"highlight": $gvars.stderr['$tty?'](), "order": "top"}).$merge(($truthy(($ret_or_1 = kwarg…
5781 if (!$truthy([true, false]['$include?'](highlight))) {
5783 } if (!$truthy(["top", "bottom"]['$include?'](order))) {
5785 } if ($truthy(highlight)) {
5793 if (($not(bt) || ($truthy(bt['$empty?']())))) {
5802 if ($truthy(self.$cause())) {
5816 if ($truthy(as_str['$empty?']())) {
5863 …if ($truthy(($ret_or_1 = ($truthy(($ret_or_2 = self.message)) ? (self.message.$to_s()) : ($ret_or_…
6006 if ($truthy(($ret_or_1 = self.receiver))) {
6015 if ($truthy(($ret_or_1 = self.key))) {
6063 …l.ensure_kwargs, $NilClass = Opal.NilClass, $slice = Opal.slice, $truthy = Opal.truthy, $rb_gt = O…
6147 if ($truthy($rb_gt(args.$length(), 1))) {
6166 …_self, $ensure_kwargs = Opal.ensure_kwargs, $slice = Opal.slice, $truthy = Opal.truthy, $send2 = O…
6278 if (!$truthy(typeof body !== 'undefined' && !body.$$stub)) {
6297 …var $truthy = Opal.truthy, $module = Opal.module, $rb_gt = Opal.rb_gt, $rb_lt = Opal.rb_lt, $eqeqe…
6323 if (!$truthy(cmp)) fail_comparison(lhs, rhs);
6331 if ($truthy(self['$equal?'](other))) {
6343 if (!$truthy((cmp = self['$<=>'](other)))) {
6429 …d2 = Opal.send2, $find_super = Opal.find_super, $def = Opal.def, $truthy = Opal.truthy, $gvars = O…
6469 if ($truthy(n['$nil?']())) {
6471 } else if ($truthy($gvars["~"])) {
6573 if ($truthy(($ret_or_1 = self.$match(string)))) {
6584 if ($truthy(self['$frozen?']())) {
6794 if (!$truthy(no_matchdata)) {
6818 if ($truthy((match = self['$[]'](idx)))) {
6820 … } else if (($truthy(idx['$is_a?']($$('Integer'))) && ($truthy($rb_ge(idx, self.$length()))))) {
6868 …} if ($truthy(($ret_or_1 = ($truthy(($ret_or_2 = ($truthy(($ret_or_3 = ($truthy(($ret_or_4 = …
6994 …pal.ensure_kwargs, $eqeqeq = Opal.eqeqeq, $Kernel = Opal.Kernel, $truthy = Opal.truthy, $gvars = O…
7117 if ($truthy(other['$respond_to?']("to_str"))) {
7275 if (!$truthy(other['$respond_to?']("to_str"))) {
7307 if ($truthy(padstr['$empty?']())) {
7309 } if ($truthy(width <= self.length)) {
7324 if ($truthy(separator === nil || self.length === 0)) {
7381 if (!(($truthy(freeze['$nil?']()) || ($eqeq(freeze, true))) || ($eqeq(freeze, false)))) {
7388 } else if ($truthy(freeze['$nil?']())) {
7758 if ($truthy(block)) {
7771 if ($truthy(padstr['$empty?']())) {
7773 } if ($truthy(width <= self.length)) {
7807 if (($eqeqeq($$('String'), pattern) || ($truthy(pattern['$respond_to?']("to_str"))))) {
7816 if (($eqeqeq($$('String'), pattern) || ($truthy(pattern['$respond_to?']("to_str"))))) {
8041 if ($truthy(padstr['$empty?']())) {
8043 } if ($truthy(width <= self.length)) {
8164 pattern = ($truthy(($ret_or_1 = $gvars[";"])) ? ($ret_or_1) : (" "));
8991 if (!$truthy(["nfc", "nfd", "nfkc", "nfkd"]['$include?'](form))) {
9056 …var $truthy = Opal.truthy, $coerce_to = Opal.coerce_to, $yield1 = Opal.yield1, $yieldX = Opal.yiel…
9085 if ($truthy(pattern !== undefined)) {
9092 if ($truthy($send(pattern, 'public_send', ["==="].concat($to_a(comparable))))) {
9103 if ($truthy(Opal.yieldX(block, $to_a(value)))) {
9114 if ($truthy($Opal.$destructure(value))) {
9133 if ($truthy(pattern !== undefined)) {
9140 if ($truthy($send(pattern, 'public_send', ["==="].concat($to_a(comparable))))) {
9151 if ($truthy(Opal.yieldX(block, $to_a(value)))) {
9162 if ($truthy($Opal.$destructure(value))) {
9281 if ($truthy(object != null)) {
9288 } else if ($truthy(block['$nil?']())) {
9295 if ($truthy($yieldX(block, args))) {
9311 if ($truthy(n['$nil?']())) {
9312 if ($truthy(self['$respond_to?']("size"))) {
9320 if ($truthy($rb_gt(n, 0))) {
9325 } if (!$truthy(n['$nil?']())) {
9328 if ($truthy(n <= 0)) {
9380 if ($truthy(Opal.yield1(block, value))) {
9405 if ($truthy(number < 0)) {
9440 if (!$truthy(value)) {
9459 if ($truthy(arguments.length != 1)) {
9462 if ($truthy(n <= 0)) {
9469 if ($truthy(enum_size['$nil?']())) {
9471 } else if (($eqeq(enum_size, 0) || ($truthy($rb_lt(enum_size, n))))) {
9522 if ($truthy(n <= 0)) {
9527 if ($truthy(self['$respond_to?']("size"))) {
9643 if ($truthy(value)) {
9660 if ($truthy(object === undefined && block === nil)) {
9669 if ($truthy(object != null)) {
9685 if ($truthy(Opal.yieldX(block, $to_a(value)))) {
9701 if ($truthy(number === undefined)) {
9710 if ($truthy(number < 0)) {
9713 if ($truthy(number == 0)) {
9723 if ($truthy(number <= ++current)) {
9746 if (!$truthy($send(pattern, '__send__', ["==="].concat($to_a(cmp))))) {
9750 if ($truthy($rb_gt(value.$length(), 1))) {
9753 } else if ($truthy($rb_le(value.$length(), 1))) {
9770 if ($truthy($send(pattern, '__send__', ["==="].concat($to_a(cmp))))) {
9774 if ($truthy($rb_gt(value.$length(), 1))) {
9777 } else if ($truthy($rb_le(value.$length(), 1))) {
9797 …($truthy(($ret_or_1 = hash['$[]'](value))) ? ($ret_or_1) : (($a = [value, []], $send(hash, '[]=', …
9887 if ($truthy(self['$respond_to?']("size"))) {
9943 if (!$truthy(block)) {
9947 } if (!$truthy(n['$nil?']())) {
9979 if (!$truthy(n['$nil?']())) {
10037 if (!$truthy(block)) {
10041 } if (!$truthy(n['$nil?']())) {
10072 …block = ($truthy(($ret_or_1 = block)) ? ($ret_or_1) : ($send($Kernel, 'proc', [], function $$38(a,…
10113 if (!$truthy(block)) {
10150 if ($truthy(pattern !== undefined)) {
10157 if ($truthy($send(pattern, 'public_send', ["==="].concat($to_a(comparable))))) {
10168 if ($truthy(Opal.yieldX(block, $to_a(value)))) {
10180 if ($truthy(item)) {
10200 if ($truthy(pattern !== undefined)) {
10207 if ($truthy($send(pattern, 'public_send', ["==="].concat($to_a(comparable))))) {
10210 if ($truthy($rb_gt(count, 1))) {
10224 if (!$truthy(Opal.yieldX(block, $to_a(value)))) {
10228 if ($truthy($rb_gt(count, 1))) {
10239 if (!$truthy($Opal.$destructure(value))) {
10243 if ($truthy($rb_gt(count, 1))) {
10264 var truthy = [], falsy = [];
10270 if ($truthy(value)) {
10271 truthy.push(param);
10280 return [truthy, falsy];
10298 if (!$truthy(value)) {
10336 if ($truthy(pattern === undefined && block === nil)) {
10338 } if ($truthy(pattern !== undefined && block !== nil || arguments.length > 1)) {
10353 if ($truthy(value) && slice.length > 0) {
10366 if ($truthy(value) && slice.length > 0) {
10380 if ($truthy(value) && slice.length > 0) {
10401 if ($truthy(pattern === undefined && block === nil)) {
10403 } if ($truthy(pattern !== undefined && block !== nil || arguments.length > 1)) {
10405 } if ($truthy(pattern !== undefined)) {
10425 if ($truthy(end_chunk)) {
10467 if ($truthy(match)) {
10537 …NITY'), $$$($$$('Float'), 'INFINITY')['$-@']()]['$include?'](item)) && ($truthy(item['$respond_to?…
10561 if (!$truthy(block)) {
10571 if (!$truthy(Opal.yield1(block, value))) {
10592 if ($truthy(hash['$key?'](produced))) {
10603 if ($truthy(hash)) {
10678 …var $klass = Opal.klass, $truthy = Opal.truthy, $to_a = Opal.to_a, $eqeq = Opal.eqeq, $Kernel = Op…
10700 if ($truthy(range['$is_a?']($$$('Array')))) {
10705 …lf.range = ($truthy(self.step_arg2) ? (((self.step = self.step_arg2), Opal.Range.$new(self.receive…
10708 if (!$truthy(step)) {
10710 …} $a = [range, ($truthy(($ret_or_1 = step)) ? ($ret_or_1) : (1))], (self.range = $a[0]), …
10714 } if ($truthy(self.step['$respond_to?']("to_int"))) {
10743 end_ = ($truthy(($ret_or_1 = self.$end())) ? ($ret_or_1) : (inf));
10744 if ($truthy($rb_gt(self.$step(), 0))) {
10745 if ($truthy(self['$exclude_end?']())) {
10750 } else if ($truthy(self['$exclude_end?']())) {
10760 begin_ = ($truthy(($ret_or_1 = self.$begin())) ? ($ret_or_1) : ((inf)['$-@']()));
10761 if ($truthy($rb_gt(self.$step(), 0))) {
10769 iter = ($truthy(($ret_or_1 = self.$begin())) ? ($ret_or_1) : ((inf)['$-@']()));
10770 if (!$truthy(count)) {
10771 return ($truthy(self['$_lesser_than_end?'](iter)) ? (iter) : (nil))
10773 …while ($truthy(($truthy(($ret_or_1 = self['$_lesser_than_end?'](iter))) ? ($rb_gt(count, 0)) : ($r…
10789 } iter = ($truthy(($ret_or_1 = self.$begin())) ? ($ret_or_1) : ((inf)['$-@']()));
10790 while ($truthy(self['$_lesser_than_end?'](iter))) {
10804 if (!$truthy(self['$_lesser_than_end?'](iter))) {
10806 } if (!$truthy(count)) {
10807 return ($truthy(self['$_greater_than_begin?'](iter)) ? (iter) : (nil))
10809 …while ($truthy(($truthy(($ret_or_1 = self['$_greater_than_begin?'](iter))) ? ($rb_gt(count, 0)) : …
10821 step_sign = ($truthy($rb_gt(self.$step(), 0)) ? (1) : (-1));
10824 } else if ($truthy([(inf)['$-@'](), inf]['$include?'](self.$step()))) {
10826 …} else if (($truthy([$rb_times((inf)['$-@'](), step_sign), nil]['$include?'](self.$begin())) || ($…
10831 if (!$truthy(self['$_lesser_than_end?'](iter))) {
10839 …if ($truthy(($ret_or_1 = ($truthy(($ret_or_2 = ($truthy(($ret_or_3 = ($truthy(($ret_or_4 = self.$c…
10855 if ($truthy(self.receiver_num)) {
10857 …= ($truthy(self.step_arg2) ? ("(" + (self.topfx) + (self.step_arg1.$inspect()) + ", " + (self.bypf…
10861 args = ($truthy(self.skipped_arg) ? (nil) : ("(" + (self.step) + ")"));
10872 …al.slice, $def = Opal.def, $send = Opal.send, $to_a = Opal.to_a, $truthy = Opal.truthy, $rb_plus =…
10931 if ($truthy([nil, $$$($$$('Float'), 'INFINITY')]['$include?'](size))) {
10948 if ($truthy(enum$['$respond_to?']("rewind"))) {
10966 …var $deny_frozen_access = Opal.deny_frozen_access, $klass = Opal.klass, $truthy = Opal.truthy, $Ke…
10988 if (!$truthy(block)) {
11020 …var $truthy = Opal.truthy, $coerce_to = Opal.coerce_to, $yield1 = Opal.yield1, $yieldX = Opal.yiel…
11089 if (!$truthy(block)) {
11108 if (!$truthy(block)) {
11146 if ($truthy($rb_lt(n, 0))) {
11149 …set_size = ($eqeqeq($$$('Integer'), current_size) ? (($truthy($rb_lt(n, current_size)) ? (n) : (cu…
11157 if ($truthy($rb_lt(dropped, n))) {
11168 if (!$truthy(block)) {
11177 if ($truthy(succeeding)) {
11181 if (!$truthy(value)) {
11207 if (!$truthy(block)) {
11218 if ($truthy(value)) {
11228 if ($truthy(block)) {
11239 if ($truthy(value)) {
11256 if ($truthy(value)) {
11266 if (!$truthy(block)) {
11277 if (!$truthy(value)) {
11288 if ($truthy($rb_lt(n, 0))) {
11291 …set_size = ($eqeqeq($$$('Integer'), current_size) ? (($truthy($rb_lt(n, current_size)) ? (n) : (cu…
11299 if ($truthy($rb_lt(taken, n))) {
11312 if (!$truthy(block)) {
11323 if ($truthy(value)) {
11410 …Opal.deny_frozen_access, $klass = Opal.klass, $defs = Opal.defs, $truthy = Opal.truthy, $send = Op…
11451 if ($truthy(block)) {
11457 if (($truthy(self.size) && ($not(self.size['$respond_to?']("call"))))) {
11475 if (($truthy(block['$nil?']()) && ($truthy(args['$empty?']())))) {
11478 if ($truthy(block['$nil?']())) {
11486 if ($truthy(self.size['$respond_to?']("call"))) {
11498 offset = ($truthy(offset) ? ($coerce_to(offset, $$$('Integer'), 'to_int')) : (0));
11499 if (!$truthy(block)) {
11542 …self.values = ($truthy(($ret_or_1 = self.values)) ? ($ret_or_1) : ($send(self, 'map', [], function…
11548 if ($truthy($rb_ge(self.cursor, self.values.$length()))) {
11558 if ($truthy($rb_le(values.$length(), 1))) {
11578 if ($truthy($rb_le(values.$length(), 1))) {
11601 if ($truthy(self.args['$any?']())) {
11615 …var $klass = Opal.klass, $truthy = Opal.truthy, $Kernel = Opal.Kernel, $def = Opal.def, $to_ary = …
11631 if ($truthy(other['$instance_of?'](self.$class()))) {
11639 if ($truthy(other['$respond_to?']("coerce"))) {
11670 if ($truthy(self['$equal?'](other))) {
11773 if ($truthy(self['$zero?']())) {
11912 …if ((($not(limit) || ($truthy(limit['$is_a?']($$$('Numeric'))))) && (($not(step) || ($truthy(step[…
11913 …Enumerator'), 'ArithmeticSequence').$new([limit, step, ($truthy(to) ? ("to: ") : nil), ($truthy(by…
11971 while ($truthy(isDesc ? $rb_ge(counter, limit) : $rb_le(counter, limit))) {
12040 …var $truthy = Opal.truthy, $falsy = Opal.falsy, $hash_ids = Opal.hash_ids, $yield1 = Opal.yield1, …
12086 // A helper for keep_if and delete_if, filter is either Opal.truthy
12230 if ($truthy(other['$respond_to?']("to_str"))) {
12233 if ($truthy(other < 0)) {
12258 if ($truthy(self.length === 0)) {
12260 } if ($truthy(other.length === 0)) {
12294 } else if ($truthy(other['$respond_to?']("to_ary"))) {
12687 if ($truthy(n['$nil?']())) {
12692 if ($truthy($rb_gt(n, 0))) {
12697 } if (($truthy(self['$empty?']()) || ($eqeq(n, 0)))) {
12739 if (($truthy(object !== undefined) || ($truthy(block)))) {
12932 if ($truthy(other['$equal?'](self))) {
13039 if (!$truthy(item['$respond_to?']("dig"))) {
13203 if ($truthy(block)) {
13205 if ($truthy(args.length > 2)) {
13210 if ($truthy(args.length == 0)) {
13212 } else if ($truthy(args.length > 3)) {
13217 if ($truthy(two)) {
13220 if ($truthy(left < 0)) {
13222 } if ($truthy(left < 0)) {
13225 if ($truthy(right < 0)) {
13227 } if (!$truthy(one['$exclude_end?']())) {
13229 } if ($truthy(right <= left)) {
13231 } } else if ($truthy(one)) {
13234 if ($truthy(left < 0)) {
13236 } if ($truthy(left < 0)) {
13238 } if ($truthy(two)) {
13241 if ($truthy(right == 0)) {
13250 } if ($truthy(left > this.length)) {
13256 } if ($truthy(right > this.length)) {
13258 } if ($truthy(block)) {
13371 if ($truthy(self['$frozen?']())) {
13552 if ($truthy(self.length === 0)) {
13554 } if ($truthy(sep === nil)) {
13619 filterIf(self, $truthy, block)
13751 if ($truthy($rb_ge(num, 0))) {
13777 if ($truthy(count === undefined)) {
13779 if ($truthy(self.length === 0)) {
13783 if ($truthy(count < 0)) {
13785 } if ($truthy(self.length === 0)) {
13787 } if ($truthy(count === 1)) {
13789 } else if ($truthy(count > self.length)) {
14052 if ($truthy(random < 0)) {
14054 } if (!$truthy(random < size)) {
14062 if ($truthy(count === undefined)) {
14064 } if ($truthy(options === undefined)) {
14065 if ($truthy((o = $Opal['$coerce_to?'](count, $$$('Hash'), "to_hash")))) {
14078 } if (($truthy(count) && ($truthy(count < 0)))) {
14080 } if ($truthy(options)) {
14082 …} rng = (($truthy(rng) && ($truthy(rng['$respond_to?']("rand")))) ? ($$('SampleRandom').$new(…
14083 if (!$truthy(count)) {
14179 if ($truthy(value)) {
14206 if ($truthy(count === undefined)) {
14208 if ($truthy(self.length === 0)) {
14212 if ($truthy(count < 0)) {
14214 } if ($truthy(self.length === 0)) {
14270 if ($truthy(length === undefined)) {
14350 if (!$truthy(self.length > 1)) {
14485 if ($truthy(self['$empty?']())) {
14494 max = ($truthy(($ret_or_1 = max)) ? ($ret_or_1) : (row.length));
14501 …entry = ($truthy(($ret_or_1 = result['$[]'](i))) ? ($ret_or_1) : (($a = [i, []], $send(result, '[]…
14611 if ($truthy(elem['$is_a?']($$$('Range')))) {
14661 …others[j] = ($truthy(($ret_or_1 = $Opal['$coerce_to?'](o, $$$('Array'), "to_ary"))) ? ($ret_or_1) …
14707 if ($truthy(($ret_or_1 = /^@\d+$/.test(ivar)))) {
14735 …, $rb_ge = Opal.rb_ge, $rb_gt = Opal.rb_gt, $hash2 = Opal.hash2, $truthy = Opal.truthy, $to_a = Op…
15167 if (!$truthy(block)) {
15208 if (!$truthy(item['$respond_to?']("dig"))) {
15217 if (!$truthy(block)) {
15242 if (!$truthy(block)) {
15260 if (!$truthy(block)) {
15378 if ($truthy(self['$frozen?']())) {
15571 if (!$truthy(block)) {
15725 if (!$truthy(block)) {
15756 if (!$truthy(block)) {
15809 if ($truthy(other.$default_proc())) {
15820 if (!$truthy(block)) {
15851 if (!$truthy(block)) {
15983 if (!$truthy(block)) {
16012 if (!$truthy(block)) {
16045 if (!$truthy(block)) {
16074 if (!$truthy(block)) {
16138 …, $Kernel = Opal.Kernel, $def = Opal.def, $eqeqeq = Opal.eqeqeq, $truthy = Opal.truthy, $rb_gt = O…
16445 if (($not($$$('Integer')['$==='](self)) || ($truthy($rb_gt(other, 0))))) {
16452 } else if ($truthy(other.$$is_number != null)) {
16506 if ($truthy(self['$nan?']())) {
16577 if (($truthy(self['$nan?']()) || ($truthy(self['$infinite?']())))) {
16594 } if ($truthy($rb_gt(stop, self))) {
16612 if ($truthy(($ret_or_1 = self['$=='](other)))) {
16745 if (($truthy(self['$nan?']()) || ($truthy(self['$infinite?']())))) {
16815 } else if ($truthy(self['$infinite?']())) {
16817 } else if ($truthy(self['$nan?']())) {
16819 } else if ($truthy(eps == null)) {
16839 if ($truthy(ndigits == null)) {
16841 } if (($eqeqeq($$$('Float'), ndigits) && ($truthy(ndigits['$infinite?']())))) {
16844 if ($truthy($rb_lt(ndigits, $$$($$$('Integer'), 'MIN')))) {
16846 } if ($truthy(ndigits >= 0)) {
16860 if (($truthy(self['$nan?']()) && ($truthy(ndigits == null)))) {
16863 if ($truthy($rb_le(ndigits, 0))) {
16864 if ($truthy(self['$nan?']())) {
16866 } else if ($truthy(self['$infinite?']())) {
16871 } else if (($truthy(self['$nan?']()) || ($truthy(self['$infinite?']())))) {
16874 …if ($truthy($rb_ge(ndigits, $rb_minus($rb_plus($$$($$$('Float'), 'DIG'), 2), ($truthy($rb_gt(exp, …
16876 …} if ($truthy($rb_lt(ndigits, ($truthy($rb_gt(exp, 0)) ? ($rb_plus($rb_divide(exp, 3), 1)) …
16884 if (!$truthy(block)) {
16923 if (($truthy($rb_lt(base, 2)) || ($truthy($rb_gt(base, 36))))) {
16925 } if (($eqeq(self, 0) && ($truthy(1/self === -Infinity)))) {
16959 if ($truthy($rb_lt(base, 2))) {
16982 if (($truthy(self['$nan?']()) || ($truthy(other['$nan?']())))) {
16984 } else if ($truthy(self['$infinite?']())) {
17001 } if ($truthy($rb_lt(stop, self))) {
17106 } if ($truthy(self['$nan?']())) {
17120 } if ($truthy(self['$nan?']())) {
17212 …var $klass = Opal.klass, $truthy = Opal.truthy, $Kernel = Opal.Kernel, $def = Opal.def, $not = Opa…
17233 if ($truthy(self.begin)) {
17235 …} if (!(($truthy(first['$<=>'](last)) || ($truthy(first['$nil?']()))) || ($truthy(last['$nil?…
17259 if (($not((block !== nil)) && ($truthy(is_infinite(self))))) {
17269 if ($truthy(is_infinite(self))) {
17278 …beg_cmp = ($truthy(($ret_or_1 = ($truthy(($ret_or_2 = ($truthy(($ret_or_3 = self.begin['$nil?']())…
17279 …end_cmp = ($truthy(($ret_or_1 = ($truthy(($ret_or_2 = ($truthy(($ret_or_3 = self.end['$nil?']())) …
17280 … ($truthy(($ret_or_1 = ($truthy(($ret_or_2 = ($truthy(self.excl) ? (($truthy(($ret_or_3 = end_cmp)…
17302 for (i = self.begin, limit = self.end + ($truthy(self.excl) ? (0) : (1)); i < limit; i++) {
17315 if (!$truthy(current['$respond_to?']("succ"))) {
17317 …} while ($truthy(($truthy(($ret_or_1 = self.end['$nil?']())) ? ($ret_or_1) : ($rb_lt(current[…
17332 …} if ($truthy(($ret_or_1 = ($truthy(($ret_or_2 = self.excl['$==='](other['$exclude_end?']()))…
17344 if ($truthy(self.begin['$nil?']())) {
17346 } if ($truthy(n == null)) {
17353 if ($truthy(self.end['$nil?']())) {
17355 } if ($truthy(n == null)) {
17364 if ($truthy(self.end['$nil?']())) {
17368 …} else if (($not(self.begin['$nil?']()) && (($truthy($rb_gt(self.begin, self.end)) || (($truthy(se…
17379 if ($truthy(self.begin['$nil?']())) {
17383 …} else if (($not(self.end['$nil?']()) && (($truthy($rb_gt(self.begin, self.end)) || (($truthy(self…
17397 } if ($truthy(is_infinite(self))) {
17403 if ($truthy(self.excl)) {
17405 } if ($truthy($rb_lt(range_end, range_begin))) {
17465 …truthy(self.begin['$is_a?']($$('Numeric'))) || ($truthy(self.begin['$nil?']()))) && (($truthy(self…
17475 if ($truthy(self.begin.$$is_number && self.end.$$is_number)) {
17485 if ($truthy(self.excl)) {
17486 if ($truthy($rb_ge(current, self.end))) {
17489 } else if ($truthy($rb_gt(current, self.end))) {
17518 …if (($truthy(self.begin['$is_a?']($$('Numeric'))) && ($truthy(self.end['$is_a?']($$('Numeric')))))…
17531 } if ($truthy(is_infinite(self) && (self.begin.$$is_number || self.end.$$is_number))) {
17533 } if (!$truthy(self.begin.$$is_number && self.end.$$is_number)) {
17541 …return "" + (($truthy(($ret_or_1 = self.begin)) ? ($ret_or_1) : (""))) + (($truthy(self.excl) ? ("…
17547 …rn "" + (($truthy(($ret_or_1 = self.begin)) ? (self.begin.$inspect()) : ($ret_or_1))) + (($truthy(…
17571 …var $slice = Opal.slice, $klass = Opal.klass, $truthy = Opal.truthy, $Kernel = Opal.Kernel, $defs …
17585 if (!$truthy(block)) {
17687 … if (self.$$is_curried) { return nil; } if ($truthy(($ret_or_1 = self.$$source_location))) {
17697 …Kernel.$raise($$$('ArgumentError'), "Can't create Binding"); } if ($truthy((($$$('::', 'Bindi…
17802 …var $klass = Opal.klass, $def = Opal.def, $truthy = Opal.truthy, $slice = Opal.slice, $alias = Opa…
17840 if ($truthy(($ret_or_1 = self.method.$$source_location))) {
17850 if ($truthy(($ret_or_1 = self.method.$$comments))) {
17947 if ($truthy(($ret_or_1 = self.method.$$source_location))) {
17957 if ($truthy(($ret_or_1 = self.method.$$comments))) {
18012 …var $klass = Opal.klass, $const_set = Opal.const_set, $not = Opal.not, $truthy = Opal.truthy, $def…
18041 if (($truthy(flags['$include?']("r")) && ($not(flags['$match?'](/[wa+]/))))) {
18043 } else if (($truthy(flags['$match?'](/[wa]/)) && ($not(flags['$match?'](/[r+]/))))) {
18124 self.read_buffer = ($truthy(($ret_or_1 = self.read_buffer)) ? ($ret_or_1) : (""));
18134 } } while ($truthy((parts = self.$sysread_noraise(1)))); return nil;
18152 if ($truthy(($ret_or_1 = self.$getc()))) {
18165 if ($truthy(($ret_or_1 = $send(self, 'gets', $to_a(args))))) {
18179 if (($truthy(sep.$$is_number) && ($not(limit)))) {
18181 } if ((($truthy(sep.$$is_hash) && ($not(limit))) && ($eqeq(opts, $hash2([], {}))))) {
18183 } else if (($truthy(limit.$$is_hash) && ($eqeq(opts, $hash2([], {}))))) {
18190 } sep = ($truthy(($ret_or_1 = sep)) ? ($ret_or_1) : (""));
18196 } self.read_buffer = ($truthy(($ret_or_1 = self.read_buffer)) ? ($ret_or_1) : (""));
18202 …if (($neqeq(sep, "") && ($truthy(($truthy(sep.$$is_regexp) ? (self.read_buffer['$match?'](sep)) : …
18209 …} } while ($truthy((data = self.$sysread_noraise(($eqeq(sep, "") ? (65536) : (1)))))); i…
18211 …$a = [($truthy(($ret_or_1 = self.read_buffer)) ? ($ret_or_1) : ("")), ""], (ret = $a[0]), (self.re…
18214 } } if ($truthy(ret)) {
18216 if ($truthy(limit)) {
18220 } if ($truthy(opts['$[]']("chomp"))) {
18232 if ($truthy(($ret_or_1 = self.read_proc(integer)))) {
18259 self.read_buffer = ($truthy(($ret_or_1 = self.read_buffer)) ? ($ret_or_1) : (""));
18261 …$a = [$rb_plus(self.read_buffer, ($truthy(($ret_or_1 = part)) ? ($ret_or_1) : (""))), ""], (ret = …
18272 self.read_buffer = ($truthy(($ret_or_1 = self.read_buffer)) ? ($ret_or_1) : (""));
18278 if (($truthy(integer) && ($truthy($rb_gt(self.read_buffer.$length(), integer))))) {
18282 …} } while ($truthy((parts = self.$sysread_noraise(($truthy(($ret_or_1 = integer)) ? ($ret_or_…
18306 } while ($truthy((s = $send(self, 'gets', [sep].concat($to_a(args)))))) {
18317 } while ($truthy((s = self.$getbyte()))) {
18328 } while ($truthy((s = self.$getc()))) {
18364 if ($truthy(($ret_or_1 = self.closed['$==']("read")))) {
18374 if ($truthy(($ret_or_1 = self.closed['$==']("write")))) {
18384 if ($truthy(self['$closed_write?']())) {
18394 if ($truthy(self['$closed_read?']())) {
18457 …to = Opal.coerce_to, $module = Opal.module, $slice = Opal.slice, $truthy = Opal.truthy, $eqeq = Op…
18473 if (($eqeq(args.$length(), 1) && ($truthy(args['$[]'](0)['$respond_to?']("to_ary"))))) {
18476 if (!$truthy(ary['$nil?']())) {
19019 …var $klass = Opal.klass, $hash2 = Opal.hash2, $rb_plus = Opal.rb_plus, $truthy = Opal.truthy, $sen…
19036 … names = $rb_plus([name], ($truthy(($ret_or_1 = options['$[]']("aliases"))) ? ($ret_or_1) : ([])));
19037 ascii = ($truthy(($ret_or_1 = options['$[]']("ascii"))) && ($ret_or_1));
19038 dummy = ($truthy(($ret_or_1 = options['$[]']("dummy"))) && ($ret_or_1));
19039 if ($truthy(options['$[]']("inherits"))) {
19086 return "#<Encoding:" + (self.name) + (($truthy(self.dummy) ? (" (dummy)") : nil)) + ">"
19396 self.bytes = ($truthy(($ret_or_1 = self.bytes)) ? ($ret_or_1) : (self.$each_byte().$to_a()));
19416 if (!$truthy(block)) {
19474 if ($truthy($rb_lt(string_bytes.$length(), idx))) {
19489 …, $slice = Opal.slice, $Kernel = Opal.Kernel, $defs = Opal.defs, $truthy = Opal.truthy, $send = Op…
19545 if (!$truthy((typeof(Math.erf) !== "undefined"))) {
19569 } if (!$truthy((typeof(Math.erfc) !== "undefined"))) {
19754 } if ($truthy(base == null)) {
19782 if ($truthy(x['$infinite?']())) {
19790 …var $module = Opal.module, $truthy = Opal.truthy, $def = Opal.def, $klass = Opal.klass, $nesting =…
19803 if ($truthy(imag)) {
19823 …var $klass = Opal.klass, $truthy = Opal.truthy, $eqeqeq = Opal.eqeqeq, $Kernel = Opal.Kernel, $def…
19841 …!((($eqeqeq($$$('Numeric'), real) && ($truthy(real['$real?']()))) && ($eqeqeq($$$('Numeric'), imag…
19850 …if (!((($eqeqeq($$$('Numeric'), r) && ($truthy(r['$real?']()))) && ($eqeqeq($$$('Numeric'), theta)…
19871 } else if (($eqeqeq($$$('Numeric'), other) && ($truthy(other['$real?']())))) {
19882 if ($truthy(($ret_or_1 = self.real['$=='](other.$real())))) {
19887 } else if (($eqeqeq($$$('Numeric'), other) && ($truthy(other['$real?']())))) {
19888 if ($truthy(($ret_or_1 = self.real['$=='](other)))) {
19909 } else if (($eqeqeq($$$('Numeric'), other) && ($truthy(other['$real?']())))) {
19921 } else if (($eqeqeq($$$('Numeric'), other) && ($truthy(other['$real?']())))) {
19933 } else if (($eqeqeq($$$('Numeric'), other) && ($truthy(other['$real?']())))) {
19944 …truthy(self.real['$nan?']()))) || (($eqeqeq($$$('Number'), self.imag) && ($truthy(self.imag['$nan?…
19949 } else if (($eqeqeq($$$('Numeric'), other) && ($truthy(other['$real?']())))) {
19971 if ($truthy($rb_gt(other, 0))) {
20031 …if ($truthy(($ret_or_1 = ($truthy(($ret_or_2 = $$('Complex')['$==='](other))) ? (self.real.$class(…
20050 if ($truthy(($ret_or_1 = self.real['$finite?']()))) {
20066 if ($truthy(($ret_or_1 = self.real['$infinite?']()))) {
20144 …qeq($$$('Number'), self.imag) && ($truthy(self.imag['$nan?']()))) || ($truthy(self.imag['$positive…
20146 …if (($eqeqeq($$$('Number'), self.imag) && (($truthy(self.imag['$nan?']()) || ($truthy(self.imag['$…
20277 …var $klass = Opal.klass, $eqeq = Opal.eqeq, $Kernel = Opal.Kernel, $truthy = Opal.truthy, $rb_lt =…
20298 } else if ($truthy($rb_lt(den, 0))) {
20311 if (($truthy(num['$nil?']()) || ($truthy(den['$nil?']())))) {
20319 } if (($truthy(den['$equal?'](1)) && ($not($$$('Integer')['$==='](num))))) {
20358 if ($truthy(($ret_or_2 = self.num['$=='](other.$numerator())))) {
20364 if ($truthy(($ret_or_2 = self.num['$=='](other)))) {
20466 if (($eqeq(self, 0) && ($truthy($rb_lt(other, 0))))) {
20468 } else if ($truthy($rb_gt(other, 0))) {
20470 } else if ($truthy($rb_lt(other, 0))) {
20481 if ($truthy($rb_lt(other, 0))) {
20486 } else if (($eqeq(self, 0) && ($truthy($rb_lt(other, 0))))) {
20596 if ($truthy($rb_lt(self.num, 0))) {
20628 if ($truthy($rb_lt(self.num, 0))) {
20645 if ($truthy($rb_lt(precision, 1))) {
20696 …Opal, $defs = Opal.defs, $eqeqeq = Opal.eqeqeq, $def = Opal.def, $truthy = Opal.truthy, $rb_gt = O…
21025 if ($truthy(r['$nil?']())) {
21027 } else if ($truthy($rb_gt(r, 0))) {
21029 } else if ($truthy($rb_lt(r, 0))) {
21039 if ($truthy(($ret_or_1 = $$$('Time')['$==='](other)))) {
21099 if ($truthy(($ret_or_1 = other['$is_a?']($$$('Time'))))) {
21123 if ($truthy(self['$utc?']())) {
21495 if (($truthy($rb_le(jan01_wday, 4)) && ($neqeq(jan01_wday, 0)))) {
21503 if ($truthy($rb_le(week, 0))) {
21509 if (($truthy($rb_le(dec31_wday, 3)) && ($neqeq(dec31_wday, 0)))) {
21537 …args = Opal.extract_kwargs, $ensure_kwargs = Opal.ensure_kwargs, $truthy = Opal.truthy, $neqeq = O…
21559 if ($truthy(const_name)) {
21606 if ($truthy(block)) {
21609 if ($truthy(const_name)) {
21636 } return (self.members = ($truthy(($ret_or_1 = self.members)) ? ($ret_or_1) : ([])));
21655 if ($truthy(self.$class().$$keyword_init)) {
21657 kwargs = ($truthy(($ret_or_1 = args.$last())) ? ($ret_or_1) : ($hash2([], {})));
21658 … if (($truthy($rb_gt(args.$length(), 1)) || ($truthy((args.length === 1 && !kwargs.$$is_hash))))) {
21661 if ($truthy(extra['$any?']())) {
21670 if ($truthy($rb_gt(args.$length(), self.$class().$members().$length()))) {
21716 if ($truthy($rb_lt(name, self.$class().$members().$size()['$-@']()))) {
21718 } if ($truthy($rb_ge(name, self.$class().$members().$size()))) {
21738 if ($truthy($rb_lt(name, self.$class().$members().$size()['$-@']()))) {
21740 } if ($truthy($rb_ge(name, self.$class().$members().$size()))) {
21744 if (!$truthy(self.$class().$members()['$include?'](name.$to_sym()))) {
21756 if (!$truthy(other['$instance_of?'](self.$class()))) {
21794 if (!$truthy(other['$instance_of?'](self.$class()))) {
21885 if ($truthy((inspect_stack)['$include?'](self.$__id__()))) {
21891 if (($eqeqeq($$$('Struct'), self) && ($truthy(self.$class().$name())))) {
21903 ($truthy(pushed) ? (inspect_stack.pop()) : nil);
21948 …item = ($truthy(key.$$is_string && self.$$data.hasOwnProperty(key)) ? (self.$$data[key] || nil) : …
21953 if (!$truthy(item['$respond_to?']("dig"))) {
21964 …ss, $slice = Opal.slice, $defs = Opal.defs, $hash2 = Opal.hash2, $truthy = Opal.truthy, $eqeqeq = …
21990 if ($truthy(enum$['$nil?']())) {
21994 } if ($truthy(block)) {
22016 if (!$truthy(enum$['$respond_to?']("each"))) {
22030 if ($truthy(self['$equal?'](other))) {
22032 } else if ($truthy(other['$instance_of?'](self.$class()))) {
22034 } else if (($truthy(other['$is_a?']($$$('Set'))) && ($eqeq(self.$size(), other.$size())))) {
22090 if ($truthy(self.hash['$respond_to?']("compare_by_identity"))) {
22102 if ($truthy(($ret_or_1 = self.hash['$respond_to?']("compare_by_identity?")))) {
22120 if ($truthy(self['$include?'](o))) {
22152 if ($truthy(self['$frozen?']())) {
22207 if ($truthy(self['$include?'](o))) {
22296 if (!$truthy(enum$['$respond_to?']("each"))) {
22302 …($truthy(($ret_or_1 = (set)['$is_a?']($$$('Set')))) ? ($ret_or_1) : ($Kernel.$raise($$$('ArgumentE…
22310 if ($truthy($rb_lt(self.$size(), set.$size()))) {
22324 if ($truthy($rb_le(self.$size(), set.$size()))) {
22338 if ($truthy($rb_lt(set.$size(), self.$size()))) {
22351 if ($truthy($rb_le(set.$size(), self.$size()))) {
22364 if ($truthy($rb_lt(self.$size(), set.$size()))) {
22404 …var $klass = Opal.klass, $def = Opal.def, $truthy = Opal.truthy, $alias = Opal.alias, nil = Opal.n…
22436 if ($truthy(($ret_or_1 = $$$('ENV')['$[]']("HOME")))) {
22448 …var $truthy = Opal.truthy, $klass = Opal.klass, $const_set = Opal.const_set, $Opal = Opal.Opal, $r…
22475 path = ($truthy(path['$respond_to?']("to_path")) ? (path.$to_path()) : (path));
22477 basedir = ($truthy(($ret_or_1 = basedir)) ? ($ret_or_1) : ($$$('Dir').$pwd()));
22480 if ($truthy(path_abs)) {
22513 if ($truthy(abs)) {
22525 if ($truthy(path[0] === '~' || (basedir && basedir[0] === '~'))) {
22528 if (!$truthy(home)) {
22531 if (!$truthy(home['$start_with?'](leading_sep))) {
22536 if ($truthy(basedir)) {
22543 if ($truthy((path)['$respond_to?']("to_path"))) {
22568 } if ($truthy($rb_lt(level, 0))) {
22631 if ($truthy(filename['$empty?']())) {
22634 …if (($truthy(last_dot_idx['$nil?']()) || ($eqeq($rb_plus(last_dot_idx, 1), $rb_minus(filename.$len…
22667 if ($truthy(paths['$empty?']())) {
22674 if (($eqeq(index, 0) && ($truthy(item['$empty?']())))) {
22676 } else if (($eqeq(paths.$length(), $rb_plus(index, 1)) && ($truthy(item['$empty?']())))) {
22688 if ($truthy(next_item['$nil?']())) {
22692 …if (($truthy(item['$end_with?']($$('SEPARATOR'))) && ($truthy(next_item['$start_with?']($$('SEPARA…
22694 …} return (result = (($truthy(item['$end_with?']($$('SEPARATOR'))) || ($truthy(next_item…
22733 …var $module = Opal.module, $defs = Opal.defs, $truthy = Opal.truthy, $return_val = Opal.return_val…
22769 if ($truthy(monotonic)) {
22785 if ($truthy(((clock = self.__clocks__['$[]'](clock_id))))) ; else {
23066 …var $truthy = Opal.truthy, $klass = Opal.klass, $Kernel = Opal.Kernel, $defs = Opal.defs, $Opal = …
23080 if (!$truthy(count)) count = 16;
23133 } if ($truthy(($ret_or_1 = self.$seed()['$=='](other.$seed())))) {
23177 if ($truthy(self['$const_defined?']("DEFAULT"))) {
23417 …var $truthy = Opal.truthy, $klass = Opal.klass, $const_set = Opal.const_set, $Opal = Opal.Opal, $r…
23444 path = ($truthy(path['$respond_to?']("to_path")) ? (path.$to_path()) : (path));
23446 basedir = ($truthy(($ret_or_1 = basedir)) ? ($ret_or_1) : ($$$('Dir').$pwd()));
23449 if ($truthy(path_abs)) {
23482 if ($truthy(abs)) {
23494 if ($truthy(path[0] === '~' || (basedir && basedir[0] === '~'))) {
23497 if (!$truthy(home)) {
23500 if (!$truthy(home['$start_with?'](leading_sep))) {
23505 if ($truthy(basedir)) {
23512 if ($truthy((path)['$respond_to?']("to_path"))) {
23537 } if ($truthy($rb_lt(level, 0))) {
23600 if ($truthy(filename['$empty?']())) {
23603 …if (($truthy(last_dot_idx['$nil?']()) || ($eqeq($rb_plus(last_dot_idx, 1), $rb_minus(filename.$len…
23636 if ($truthy(paths['$empty?']())) {
23643 if (($eqeq(index, 0) && ($truthy(item['$empty?']())))) {
23645 } else if (($eqeq(paths.$length(), $rb_plus(index, 1)) && ($truthy(item['$empty?']())))) {
23657 if ($truthy(next_item['$nil?']())) {
23661 …if (($truthy(item['$end_with?']($$('SEPARATOR'))) && ($truthy(next_item['$start_with?']($$('SEPARA…
23663 …} return (result = (($truthy(item['$end_with?']($$('SEPARATOR'))) || ($truthy(next_item…
23679 …var $klass = Opal.klass, $truthy = Opal.truthy, $const_set = Opal.const_set, $defs = Opal.defs, $a…
23806 if ($truthy(__path__.sep !== $$('Separator'))) {
23835 if ($truthy(path['$respond_to?']("path"))) {
23845 if ($truthy(dir_string)) {
23864 …prefix = ($truthy(($b = paths.$first(), ($b === nil || $b == null) ? nil : $b['$start_with?']("//"…
23871 if (!$truthy(self['$exist?'](path))) {
23874 if (!$truthy(result)) {
23885 if (!$truthy(self['$exist?'](path))) {
23888 if (!$truthy(result)) {
23899 if (!$truthy(self['$exist?'](path))) {
23927 if ($truthy(path['$respond_to?']("path"))) {
23944 path = ($truthy(path['$respond_to?']("to_path")) ? (path.$to_path()) : (path));
23945 basedir = ($truthy(($ret_or_1 = basedir)) ? ($ret_or_1) : ($$('Dir').$pwd()));
23958 if ($truthy(encoding_option_rx['$match?'](flags))) {
23971 if ($truthy(self.eof)) {
23975 if ($truthy(self.binary_flag)) {
24071 …var $klass = Opal.klass, $def = Opal.def, $truthy = Opal.truthy, $send = Opal.send, $Opal = Opal.O…
24133 if (!$truthy(pattern['$respond_to?']("each"))) {
24138 if ($truthy(subpattern['$respond_to?']("to_path"))) {
24203 …rn_val, $def = Opal.def, $eqeq = Opal.eqeq, $gvars = Opal.gvars, $truthy = Opal.truthy, $slice = O…
24231 …return (self.file = ($truthy(($ret_or_1 = self.file)) ? ($ret_or_1) : ($$('File').$open(fn, "r"))))
24240 if ($truthy(self.filename)) {
24245 if ($truthy(($ret_or_1 = self.last_filename))) {
24279 } while ($truthy((l = $send(self, 'gets', $to_a(args))))) {
24291 if ($truthy(s['$nil?']())) {
24295 } if ($truthy(s)) {
24311 if ($truthy(r)) {
24317 if ((($truthy(len) && ($truthy($rb_gt(len, 0)))) && ($truthy(self.filename)))) {
24361 if (($not(self.filename) && ($truthy(self.last_filename)))) {
24418 …var $truthy = Opal.truthy, $module = Opal.module, $rb_gt = Opal.rb_gt, $rb_lt = Opal.rb_lt, $eqeqe…
24444 if (!$truthy(cmp)) fail_comparison(lhs, rhs);
24452 if ($truthy(self['$equal?'](other))) {
24464 if (!$truthy((cmp = self['$<=>'](other)))) {
24550 … = Opal.const_set, $regexp = Opal.regexp, $eqeqeq = Opal.eqeqeq, $truthy = Opal.truthy, $eqeq = Op…
24571 } else if ($truthy(path['$respond_to?']("to_path"))) {
24573 } else if ($truthy(path['$is_a?']($$('String')))) {
24575 } else if ($truthy(path['$nil?']())) {
24608 while ($truthy((r = self.$chop_basename(path)))) {
24618 …if ($truthy($$('Regexp').$new("^" + ($$$($$('Pathname'), 'SEPARATOR_PAT').$source()) + "?$")['$=~'…
24636 new_path = ($truthy(self['$absolute?']()) ? ("/") : ("."));
24681 while ($truthy((r2 = self.$chop_basename(prefix2)))) {
24689 while ($truthy(true)) {
24691 …while ($truthy(($truthy(($ret_or_1 = basename_list2['$empty?']()['$!']())) ? (basename_list2.$firs…
24695 } if (!$truthy((r1 = self.$chop_basename(prefix1)))) {
24700 …} if ((($eqeq(basename1, "..") || ($truthy(basename_list2['$empty?']()))) || ($neqeq(basena…
24707 …if (($not(r1) && ($truthy($regexp([$$('SEPARATOR_PAT')])['$=~']($$('File').$basename(prefix1))))))…
24708 …while ($truthy(($truthy(($ret_or_1 = basename_list2['$empty?']()['$!']())) ? (basename_list2.$firs…
24716 if ($truthy(r1)) {
24720 } } else if ($truthy(r1)) {
24732 if ($truthy(args['$empty?']())) {
24739 if ($truthy(result['$absolute?']())) {
24749 if ($truthy(result['$absolute?']())) {
24795 …$const_set($nesting[0], 'SAME_PATHS', ($truthy($$$($$('File'), 'FNM_SYSCASE')['$nonzero?']()) ? ($…
24813 while ($truthy((r = self.$chop_basename(dest_prefix)))) {
24820 while ($truthy((r = self.$chop_basename(base_prefix)))) {
24825 } } if (!$truthy($$('SAME_PATHS')['$[]'](dest_prefix, base_prefix))) {
24827 …} while ($truthy(($truthy(($ret_or_1 = ($truthy(($ret_or_2 = dest_names['$empty?']()['$!']())…
24831 } if ($truthy(base_names['$include?'](".."))) {
24835 if ($truthy(relpath_names['$empty?']())) {
24900 …var $const_set = Opal.const_set, $def = Opal.def, $truthy = Opal.truthy, $return_val = Opal.return…
24948 if ($truthy(self['$key?'](key))) {
24952 } if (!$truthy(typeof(default_value) === 'undefined')) {
24998 …var $truthy = Opal.truthy, $module = Opal.module, $rb_gt = Opal.rb_gt, $rb_lt = Opal.rb_lt, $eqeqe…
25024 if (!$truthy(cmp)) fail_comparison(lhs, rhs);
25032 if ($truthy(self['$equal?'](other))) {
25044 if (!$truthy((cmp = self['$<=>'](other)))) {
25130 … = Opal.const_set, $regexp = Opal.regexp, $eqeqeq = Opal.eqeqeq, $truthy = Opal.truthy, $eqeq = Op…
25151 } else if ($truthy(path['$respond_to?']("to_path"))) {
25153 } else if ($truthy(path['$is_a?']($$('String')))) {
25155 } else if ($truthy(path['$nil?']())) {
25188 while ($truthy((r = self.$chop_basename(path)))) {
25198 …if ($truthy($$('Regexp').$new("^" + ($$$($$('Pathname'), 'SEPARATOR_PAT').$source()) + "?$")['$=~'…
25216 new_path = ($truthy(self['$absolute?']()) ? ("/") : ("."));
25261 while ($truthy((r2 = self.$chop_basename(prefix2)))) {
25269 while ($truthy(true)) {
25271 …while ($truthy(($truthy(($ret_or_1 = basename_list2['$empty?']()['$!']())) ? (basename_list2.$firs…
25275 } if (!$truthy((r1 = self.$chop_basename(prefix1)))) {
25280 …} if ((($eqeq(basename1, "..") || ($truthy(basename_list2['$empty?']()))) || ($neqeq(basena…
25287 …if (($not(r1) && ($truthy($regexp([$$('SEPARATOR_PAT')])['$=~']($$('File').$basename(prefix1))))))…
25288 …while ($truthy(($truthy(($ret_or_1 = basename_list2['$empty?']()['$!']())) ? (basename_list2.$firs…
25296 if ($truthy(r1)) {
25300 } } else if ($truthy(r1)) {
25312 if ($truthy(args['$empty?']())) {
25319 if ($truthy(result['$absolute?']())) {
25329 if ($truthy(result['$absolute?']())) {
25375 …$const_set($nesting[0], 'SAME_PATHS', ($truthy($$$($$('File'), 'FNM_SYSCASE')['$nonzero?']()) ? ($…
25393 while ($truthy((r = self.$chop_basename(dest_prefix)))) {
25400 while ($truthy((r = self.$chop_basename(base_prefix)))) {
25405 } } if (!$truthy($$('SAME_PATHS')['$[]'](dest_prefix, base_prefix))) {
25407 …} while ($truthy(($truthy(($ret_or_1 = ($truthy(($ret_or_2 = dest_names['$empty?']()['$!']())…
25411 } if ($truthy(base_names['$include?'](".."))) {
25415 if ($truthy(relpath_names['$empty?']())) {
25448 …super = Opal.find_super, $def = Opal.def, $eqeqeq = Opal.eqeqeq, $truthy = Opal.truthy, $rb_ge = O…
25499 if (!$truthy($rb_ge(pos, 0))) {
25503 if ($truthy($rb_gt($rb_plus(self.position, pos), self.string.$length()))) {
25509 if ($truthy($rb_gt(pos, self.string.$length()))) {
25551 if ($truthy(self['$eof?']())) {
25553 … string = ($truthy(length) ? (((str = self.string['$[]'](self.position, length)), (self.position =…
25554 if ($truthy(outbuf)) {