Class: MiniExiftool::TagHash

Inherits:
Hash
  • Object
show all
Defined in:
lib/mini_exiftool.rb

Overview

Hash with indifferent access: DateTimeOriginal == datetimeoriginal == date_time_original

Instance Method Summary collapse

Instance Method Details

#[](k) ⇒ Object

:nodoc:



555
556
557
# File 'lib/mini_exiftool.rb', line 555

def[] k
  super(unify(k))
end

#[]=(k, v) ⇒ Object



558
559
560
# File 'lib/mini_exiftool.rb', line 558

def []= k, v
  super(unify(k), v)
end

#delete(k) ⇒ Object



561
562
563
# File 'lib/mini_exiftool.rb', line 561

def delete k
  super(unify(k))
end

#unify(tag) ⇒ Object



565
566
567
# File 'lib/mini_exiftool.rb', line 565

def unify tag
  MiniExiftool.unify tag
end