class Morandi::ImageOp

Public Class Methods

new() click to toggle source
# File lib/morandi/image-ops.rb, line 15
def initialize()
end
new_from_hash(hash) click to toggle source
# File lib/morandi/image-ops.rb, line 7
def new_from_hash(hash)
  op = allocate()
  hash.each_pair do |key,val|
    op.instance_variable_set("@#{key}", val) if op.respond_to?(key.intern)
  end
  op
end

Public Instance Methods

priority() click to toggle source
# File lib/morandi/image-ops.rb, line 17
def priority
  100
end