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.0'

Class Method Summary collapse

Class Method Details

.const_missing(name) ⇒ Object



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

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);
}