Class: Vips::Process::Base

Inherits:
Object
  • Object
show all
Includes:
Vips::Process
Defined in:
lib/vips-process/base.rb

Constant Summary

Constants included from Vips::Process

JPEG, PNG, VERSION

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#dstObject

Returns the value of attribute dst.



8
9
10
# File 'lib/vips-process/base.rb', line 8

def dst
  @dst
end

#srcObject

Returns the value of attribute src.



8
9
10
# File 'lib/vips-process/base.rb', line 8

def src
  @src
end