Method: Vips::Operation#initialize
- Defined in:
- lib/vips/operation.rb
#initialize(value) ⇒ Operation
Returns a new instance of Operation.
57 58 59 60 61 62 63 64 65 66 |
# File 'lib/vips/operation.rb', line 57 def initialize value # allow init with a pointer so we can wrap the return values from # things like _build if value.is_a? String value = Vips::vips_operation_new value raise Vips::Error if value == nil end super value end |