Method: PSD::Compose#method_missing

Defined in:
lib/psd/compose.rb

#method_missing(method, *args, &block) ⇒ Object

If the blend mode is missing, we fall back to normal composition.



327
328
329
330
# File 'lib/psd/compose.rb', line 327

def method_missing(method, *args, &block)
  return ChunkyPNG::Color.send(method, *args) if ChunkyPNG::Color.respond_to?(method)
  normal(*args)
end