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:



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

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

#[]=(k, v) ⇒ Object



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

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

#delete(k) ⇒ Object



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

def delete k
  super(unify(k))
end

#unify(tag) ⇒ Object



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

def unify tag
  MiniExiftool.unify tag
end