Module: Tiff::Bindings

Extended by:
FFI::Library
Defined in:
lib/tiff/bindings.rb

Constant Summary collapse

@@tags =
Hash.new do |hash, key|
  raise KeyError, "Tag #{key.inspect} is unsupported. Available tags: #{hash.keys}"
end

Class Method Summary collapse

Class Method Details

.tagsObject

Returns a hash of tag names to Tag instances. See ‘lib/tiff/tags.rb` for a list of supported tags.



31
32
33
# File 'lib/tiff/bindings.rb', line 31

def tags
  @@tags
end