Method: Rational#inspect
- Defined in:
- rational.c
#inspect ⇒ String
1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 |
# File 'rational.c', line 1822
static VALUE
nurat_inspect(VALUE self)
{
VALUE s;
s = rb_usascii_str_new2("(");
rb_str_concat(s, f_format(self, f_inspect));
rb_str_cat2(s, ")");
return s;
}
|