Class: Imanip::Image
- Inherits:
-
Object
- Object
- Imanip::Image
- Defined in:
- lib/imanip/image.rb
Instance Method Summary collapse
-
#initialize(path, interface = :magick) ⇒ Image
constructor
A new instance of Image.
Constructor Details
#initialize(path, interface = :magick) ⇒ Image
Returns a new instance of Image.
4 5 6 7 |
# File 'lib/imanip/image.rb', line 4 def initialize(path,interface = :magick) @image_path = path load_interface(interface) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object (private)
14 15 16 |
# File 'lib/imanip/image.rb', line 14 def method_missing(method, *args) @interface.send(method,*args) end |