Module: Exif

Defined in:
lib/exif.rb,
lib/exif/version.rb,
ext/exif/exif.c

Defined Under Namespace

Classes: Data, Error, IFDNotFound, NotReadable, UnknownDataType

Constant Summary collapse

VERSION =
'2.2.4'
LIBEXIF_VERSION =
rb_str_new2(LIBEXIF_VERSION)

Class Method Summary collapse

Class Method Details

.const_missing(name) ⇒ Object



7
8
9
10
11
12
13
14
15
# File 'ext/exif/exif.c', line 7

VALUE rb_exif_const_missing(VALUE klass, VALUE name) {
  const char not_readble[] = "NotReadble";
  if (strcmp(rb_id2name(SYM2ID(name)), not_readble) == 0) {
    rb_warn("constant NotReadble is deprecated and will be removed in the "
            "future, use NotReadable instead.");
    return rb_eNotReadable;
  }
  return rb_call_super(1, &name);
}