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:



449
450
451
# File 'lib/mini_exiftool.rb', line 449

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

#[]=(k, v) ⇒ Object



452
453
454
# File 'lib/mini_exiftool.rb', line 452

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

#delete(k) ⇒ Object



455
456
457
# File 'lib/mini_exiftool.rb', line 455

def delete k
  super(unify(k))
end

#unify(tag) ⇒ Object



459
460
461
# File 'lib/mini_exiftool.rb', line 459

def unify tag
  MiniExiftool.unify tag
end