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:



571
572
573
# File 'lib/mini_exiftool.rb', line 571

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

#[]=(k, v) ⇒ Object



574
575
576
# File 'lib/mini_exiftool.rb', line 574

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

#delete(k) ⇒ Object



577
578
579
# File 'lib/mini_exiftool.rb', line 577

def delete k
  super(unify(k))
end

#unify(tag) ⇒ Object



581
582
583
# File 'lib/mini_exiftool.rb', line 581

def unify tag
  MiniExiftool.unify tag
end