class ImageProcessing::Builder

Attributes

options[R]

Public Class Methods

new(options) click to toggle source
# File lib/image_processing/builder.rb, line 7
def initialize(options)
  @options = options
end

Public Instance Methods

call!(**options) click to toggle source

Calls the pipeline to perform the processing from built options.

# File lib/image_processing/builder.rb, line 12
def call!(**options)
  Pipeline.new(self.options).call(**options)
end