Module: Exiv2::ExifAccess

Includes:
Enumerable
Included in:
Exif
Defined in:
lib/exiv2.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(name, *args) ⇒ Object



58
59
60
61
# File 'lib/exiv2.rb', line 58

def method_missing(name, *args)
  super(name, *args) unless virtual_methods.include?(name.to_s)
  SubTagAccess.new(self.class.to_s, name, self)
end

Instance Method Details

#methodsObject



55
56
57
# File 'lib/exiv2.rb', line 55

def methods
  virtual_methods + real_methods
end