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



64
65
66
67
# File 'lib/exiv2.rb', line 64

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



61
62
63
# File 'lib/exiv2.rb', line 61

def methods
  virtual_methods + real_methods
end