Exception: AE::MacOSError

Inherits:
StandardError
  • Object
show all
Defined in:
ext/ae/ae.c

Instance Method Summary collapse

Instance Method Details

#inspectObject

MacOSError methods



75
76
77
78
79
80
81
82
# File 'ext/ae/ae.c', line 75

static VALUE
rbAE_MacOSError_inspect(VALUE self)
{
  char s[32];

  sprintf(s, "#<AE::MacOSError %li>", (long)NUM2INT(rb_iv_get(self, "@number")));
  return rb_str_new2(s);
}

#to_sObject

MacOSError methods



75
76
77
78
79
80
81
82
# File 'ext/ae/ae.c', line 75

static VALUE
rbAE_MacOSError_inspect(VALUE self)
{
  char s[32];

  sprintf(s, "#<AE::MacOSError %li>", (long)NUM2INT(rb_iv_get(self, "@number")));
  return rb_str_new2(s);
}