Lines Matching refs:to_s

2986   // Forward .toString() to #to_s
2988 var to_s = this.$to_s();
2989 if (to_s.$$is_string && typeof(to_s) === 'object') {
2991 return to_s.valueOf();
2993 return to_s;
3003 Opal.top.$to_s = Opal.top.$inspect = $return_val('main');
3046 Opal.add_stubs('===,raise,respond_to?,nil?,__send__,<=>,class,coerce_to!,new,to_s,__id__');
3207 return "#<" + (value.$$class) + ":0x" + (value.$__id__().$to_s(16)) + ">"
3212 return "#<" + (value.$$class) + ":0x" + (value.$__id__().$to_s(16)) + ">"
3225 return "#<" + (value.$$class) + ":0x" + (value.$__id__().$to_s(16)) + ">"
3238 …s,included,cover?,size,merge,compile,proc,any?,prepend_features,prepended,to_s,__id__,constants,in…
4035 $def(self, '$to_s', function $$to_s() {
4041 … return "#<" + (self.$$is_module ? 'Module' : 'Class') + ":0x" + (self.$__id__().$to_s(16)) + ">"
4155 return $alias(self, "inspect", "to_s");
4181 …bs('require,class_eval,to_proc,+,subclasses,flatten,map,initialize_copy,allocate,name,to_s,raise');
4272 $def(self, '$to_s', function $$to_s() {
4275 $$to_s.$$p = null;
4284 …<Class:#<" + ((singleton_of.$$class).$name()) + ":0x" + ((Opal.id(singleton_of)).$to_s(16)) + ">>";
4287 return $send2(self, $find_super(self, 'to_s', $$to_s, false, true), 'to_s', [], null);
4303 return $alias(self, "inspect", "to_s");
4506 …s,__id__,include?,each,instance_variables,instance_variable_get,inspect,+,to_s,instance_variable_n…
4901 return "#<" + (self.$class()) + ":0x" + (id.$to_s(16)) + (ivs) + ">";
4905 return "#<" + (self.$class()) + ":0x" + (id.$to_s(16)) + ">"
5440 return $Opal['$coerce_to!'](str, $$$('String'), "to_s")
5454 $def(self, '$to_s', function $$to_s() {
5457 return "#<" + (self.$class()) + ":0x" + (self.$__id__().$to_s(16)) + ">"
5532 $def(self, '$to_s', $return_val("main"));
5614 …Opal.add_stubs('new,map,backtrace,clone,to_s,merge,tty?,[],include?,raise,dup,empty?,!,caller,shif…
5759 return self.$to_s()
5788 …msg = $rb_plus(msg, "" + (bold) + (self.$to_s()) + " (" + (bold_underline) + (self.$class()) + (re…
5806 as_str = self.$to_s();
5808 return self.$class().$to_s()
5810 return "#<" + (self.$class().$to_s()) + ": " + (self.$to_s()) + ">"
5851 return $def(self, '$to_s', function $$to_s() {
5854 …if ($truthy(($ret_or_1 = ($truthy(($ret_or_2 = self.message)) ? (self.message.$to_s()) : ($ret_or_…
5857 return self.$class().$to_s()
6125 $def(self, '$to_s', $return_val(""));
6159 Opal.add_stubs('raise,name,==,to_s,__id__');
6245 $def(self, '$to_s', function $$to_s() {
6280 $alias(self, "inspect", "to_s");
6767 return $alias(self, "to_s", "source");
6941 $def(self, '$to_s', function $$to_s() {
6987 …Opal.add_stubs('require,include,coerce_to?,initialize,===,format,raise,respond_to?,to_s,to_str,<=>…
7110 other = other.$to_str().$to_s();
7268 } other = ($coerce_to(other, $$$('String'), 'to_str')).$to_s();
7297 padstr = ($coerce_to(padstr, $$$('String'), 'to_str')).$to_s();
7317 } separator = $Opal['$coerce_to!'](separator, $$$('String'), "to_str").$to_s();
7535 var suffix = $coerce_to(suffixes[i], $$$('String'), 'to_str').$to_s();
7581 _replacement = (replacement)['$[]'](match[0]).$to_s();
7761 padstr = ($coerce_to(padstr, $$$('String'), 'to_str')).$to_s();
8031 padstr = ($coerce_to(padstr, $$$('String'), 'to_str')).$to_s();
8167 pattern = $coerce_to(pattern, $$$('String'), 'to_str').$to_s();
8262 var prefix = $coerce_to(prefixes[i], $$$('String'), 'to_str').$to_s();
8306 …result = self.slice(0, match.index) + (replacement)['$[]'](match[0]).$to_s() + self.slice(match.in…
8498 $def(self, '$to_s', function $$to_s() {
8508 from = $coerce_to(from, $$$('String'), 'to_str').$to_s();
8509 to = $coerce_to(to, $$$('String'), 'to_str').$to_s();
8655 from = $coerce_to(from, $$$('String'), 'to_str').$to_s();
8656 to = $coerce_to(to, $$$('String'), 'to_str').$to_s();
9039 $alias(self, "to_str", "to_s");
12033 …-,[],dig,eql?,length,exclude_end?,flatten,frozen?,__id__,&,!,intersection,to_s,new,item,max,min,>=…
13558 result.push((tmp).$to_s());
13578 if ($respond_to(item, '$to_s')) {
13579 tmp = (item).$to_s();
13588 … ($$('Opal').$inspect(self.$item())) + " doesn't respond to #to_str, #to_ary or #to_s", "to_str"));
13595 return result.join($Opal['$coerce_to!'](sep, $$$('String'), "to_str").$to_s());
14719 $alias(self, "to_s", "inspect");
16121 $alias(self, "to_s", "inspect");
16131 …exp,to_i,ldexp,rationalize,*,<<,to_r,truncate,-@,size,<=,>=,inspect,angle,to_s,is_a?,abs,__id__,ne…
16908 $def(self, '$to_s', function $$to_s(base) {
17121 $alias(self, "inspect", "to_s");
17529 $def(self, '$to_s', function $$to_s() {
18450 …=,length,coerce_to?,nil?,to_a,raise,to_int,fetch,Integer,Float,to_ary,to_str,inspect,to_s,format');
18977 str = (GET_ARG()).$to_s();
19072 $def(self, '$to_s', $return_ivar("name"));
19448 encoding = $Opal['$coerce_to!'](encoding, $$$('String'), "to_s");
20130 $def(self, '$to_s', function $$to_s() {
20607 $def(self, '$to_s', function $$to_s() {
20689 …itialize_dup,is_a?,zero?,wday,utc?,mon,yday,hour,min,sec,rjust,ljust,zone,to_s,[],cweek_cyear,jd,t…
21360 result += self.$cweek_cyear()['$[]'](0).$to_s().$rjust(2, "0");
21518 $alias(self, "to_s", "inspect");
21949 $alias(self, "to_s", "inspect");
23501 …Opal.add_stubs('require,include,quote,===,to_s,path,respond_to?,to_path,is_a?,nil?,raise,class,==,…
23519 self.path = path.$path().$to_s();
23620 } return $$('Pathname').$new(self.$plus(self.path, other.$to_s()));
23758 dest_directory = self.$cleanpath().$to_s();
23759 base_directory = base_directory.$cleanpath().$to_s();
23801 $alias(self, "to_s", "to_path");