Lines Matching refs:to_s

2995   // Forward .toString() to #to_s
2997 var to_s = this.$to_s();
2998 if (to_s.$$is_string && typeof(to_s) === 'object') {
3000 return to_s.valueOf();
3002 return to_s;
3012 Opal.top.$to_s = Opal.top.$inspect = $return_val('main');
3055 Opal.add_stubs('===,raise,respond_to?,nil?,__send__,<=>,class,coerce_to!,new,to_s,__id__');
3216 return "#<" + (value.$$class) + ":0x" + (value.$__id__().$to_s(16)) + ">"
3221 return "#<" + (value.$$class) + ":0x" + (value.$__id__().$to_s(16)) + ">"
3234 return "#<" + (value.$$class) + ":0x" + (value.$__id__().$to_s(16)) + ">"
3247 …s,included,cover?,size,merge,compile,proc,any?,prepend_features,prepended,to_s,__id__,constants,in…
4044 $def(self, '$to_s', function $$to_s() {
4050 … return "#<" + (self.$$is_module ? 'Module' : 'Class') + ":0x" + (self.$__id__().$to_s(16)) + ">"
4164 return $alias(self, "inspect", "to_s");
4190 …bs('require,class_eval,to_proc,+,subclasses,flatten,map,initialize_copy,allocate,name,to_s,raise');
4281 $def(self, '$to_s', function $$to_s() {
4284 $$to_s.$$p = null;
4293 …<Class:#<" + ((singleton_of.$$class).$name()) + ":0x" + ((Opal.id(singleton_of)).$to_s(16)) + ">>";
4296 return $send2(self, $find_super(self, 'to_s', $$to_s, false, true), 'to_s', [], null);
4312 return $alias(self, "inspect", "to_s");
4515 …s,__id__,include?,each,instance_variables,instance_variable_get,inspect,+,to_s,instance_variable_n…
4910 return "#<" + (self.$class()) + ":0x" + (id.$to_s(16)) + (ivs) + ">";
4914 return "#<" + (self.$class()) + ":0x" + (id.$to_s(16)) + ">"
5449 return $Opal['$coerce_to!'](str, $$$('String'), "to_s")
5463 $def(self, '$to_s', function $$to_s() {
5466 return "#<" + (self.$class()) + ":0x" + (self.$__id__().$to_s(16)) + ">"
5541 $def(self, '$to_s', $return_val("main"));
5623 …Opal.add_stubs('new,map,backtrace,clone,to_s,merge,tty?,[],include?,raise,dup,empty?,!,caller,shif…
5768 return self.$to_s()
5797 …msg = $rb_plus(msg, "" + (bold) + (self.$to_s()) + " (" + (bold_underline) + (self.$class()) + (re…
5815 as_str = self.$to_s();
5817 return self.$class().$to_s()
5819 return "#<" + (self.$class().$to_s()) + ": " + (self.$to_s()) + ">"
5860 return $def(self, '$to_s', function $$to_s() {
5863 …if ($truthy(($ret_or_1 = ($truthy(($ret_or_2 = self.message)) ? (self.message.$to_s()) : ($ret_or_…
5866 return self.$class().$to_s()
6134 $def(self, '$to_s', $return_val(""));
6168 Opal.add_stubs('raise,name,==,to_s,__id__');
6254 $def(self, '$to_s', function $$to_s() {
6289 $alias(self, "inspect", "to_s");
6776 return $alias(self, "to_s", "source");
6950 $def(self, '$to_s', function $$to_s() {
6996 …Opal.add_stubs('require,include,coerce_to?,initialize,===,format,raise,respond_to?,to_s,to_str,<=>…
7119 other = other.$to_str().$to_s();
7277 } other = ($coerce_to(other, $$$('String'), 'to_str')).$to_s();
7306 padstr = ($coerce_to(padstr, $$$('String'), 'to_str')).$to_s();
7326 } separator = $Opal['$coerce_to!'](separator, $$$('String'), "to_str").$to_s();
7544 var suffix = $coerce_to(suffixes[i], $$$('String'), 'to_str').$to_s();
7590 _replacement = (replacement)['$[]'](match[0]).$to_s();
7770 padstr = ($coerce_to(padstr, $$$('String'), 'to_str')).$to_s();
8040 padstr = ($coerce_to(padstr, $$$('String'), 'to_str')).$to_s();
8176 pattern = $coerce_to(pattern, $$$('String'), 'to_str').$to_s();
8271 var prefix = $coerce_to(prefixes[i], $$$('String'), 'to_str').$to_s();
8315 …result = self.slice(0, match.index) + (replacement)['$[]'](match[0]).$to_s() + self.slice(match.in…
8507 $def(self, '$to_s', function $$to_s() {
8517 from = $coerce_to(from, $$$('String'), 'to_str').$to_s();
8518 to = $coerce_to(to, $$$('String'), 'to_str').$to_s();
8664 from = $coerce_to(from, $$$('String'), 'to_str').$to_s();
8665 to = $coerce_to(to, $$$('String'), 'to_str').$to_s();
9048 $alias(self, "to_str", "to_s");
12042 …-,[],dig,eql?,length,exclude_end?,flatten,frozen?,__id__,&,!,intersection,to_s,new,item,max,min,>=…
13567 result.push((tmp).$to_s());
13587 if ($respond_to(item, '$to_s')) {
13588 tmp = (item).$to_s();
13597 … ($$('Opal').$inspect(self.$item())) + " doesn't respond to #to_str, #to_ary or #to_s", "to_str"));
13604 return result.join($Opal['$coerce_to!'](sep, $$$('String'), "to_str").$to_s());
14728 $alias(self, "to_s", "inspect");
16130 $alias(self, "to_s", "inspect");
16140 …exp,to_i,ldexp,rationalize,*,<<,to_r,truncate,-@,size,<=,>=,inspect,angle,to_s,is_a?,abs,__id__,ne…
16917 $def(self, '$to_s', function $$to_s(base) {
17130 $alias(self, "inspect", "to_s");
17538 $def(self, '$to_s', function $$to_s() {
18459 …=,length,coerce_to?,nil?,to_a,raise,to_int,fetch,Integer,Float,to_ary,to_str,inspect,to_s,format');
18986 str = (GET_ARG()).$to_s();
19081 $def(self, '$to_s', $return_ivar("name"));
19457 encoding = $Opal['$coerce_to!'](encoding, $$$('String'), "to_s");
20139 $def(self, '$to_s', function $$to_s() {
20616 $def(self, '$to_s', function $$to_s() {
20698 …itialize_dup,is_a?,zero?,wday,utc?,mon,yday,hour,min,sec,rjust,ljust,zone,to_s,[],cweek_cyear,jd,t…
21369 result += self.$cweek_cyear()['$[]'](0).$to_s().$rjust(2, "0");
21527 $alias(self, "to_s", "inspect");
21958 $alias(self, "to_s", "inspect");
23863 paths = $send(paths, 'map', [], "to_s".$to_proc());
24552 …Opal.add_stubs('require,include,quote,===,to_s,path,respond_to?,to_path,is_a?,nil?,raise,class,==,…
24570 self.path = path.$path().$to_s();
24671 } return $$('Pathname').$new(self.$plus(self.path, other.$to_s()));
24809 dest_directory = self.$cleanpath().$to_s();
24810 base_directory = base_directory.$cleanpath().$to_s();
24852 $alias(self, "to_s", "to_path");
24902 Opal.add_stubs('new,to_s,key?,[],raise,to_h,keys,merge');
24917 return process.env[name.$to_s()] = value.$to_s()
24957 $def(self, '$to_s', $return_val("ENV"));
24976 $alias(self, "inspect", "to_s");
25132 …Opal.add_stubs('require,include,quote,===,to_s,path,respond_to?,to_path,is_a?,nil?,raise,class,==,…
25150 self.path = path.$path().$to_s();
25251 } return $$('Pathname').$new(self.$plus(self.path, other.$to_s()));
25389 dest_directory = self.$cleanpath().$to_s();
25390 base_directory = base_directory.$cleanpath().$to_s();
25432 $alias(self, "to_s", "to_path");