Class: Vips::Process::Base
- Inherits:
-
Object
- Object
- Vips::Process::Base
- Includes:
- Vips::Process
- Defined in:
- lib/vips-process/base.rb
Constant Summary
Constants included from Vips::Process
Instance Attribute Summary collapse
-
#dst ⇒ Object
Returns the value of attribute dst.
-
#src ⇒ Object
Returns the value of attribute src.
Instance Method Summary collapse
-
#initialize(src, dst = nil) ⇒ Base
constructor
A new instance of Base.
Methods included from Vips::Process
#dst!, included, #manipulate!, #process!, #sequential, #src!, #versions!
Constructor Details
#initialize(src, dst = nil) ⇒ Base
Returns a new instance of Base.
10 11 12 13 |
# File 'lib/vips-process/base.rb', line 10 def initialize(src, dst=nil) @src = src @dst = dst || src end |
Instance Attribute Details
#dst ⇒ Object
Returns the value of attribute dst.
8 9 10 |
# File 'lib/vips-process/base.rb', line 8 def dst @dst end |
#src ⇒ Object
Returns the value of attribute src.
8 9 10 |
# File 'lib/vips-process/base.rb', line 8 def src @src end |