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:


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

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

#[]=(k, v) ⇒ Object


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

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

#delete(k) ⇒ Object


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

def delete k
  super(unify(k))
end

#unify(tag) ⇒ Object


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

def unify tag
  MiniExiftool.unify tag
end