Method: RScale::Processor::Convert#initialize

Defined in:
lib/rscale/processor.rb

#initialize(file_from, file_to) {|_self| ... } ⇒ Convert

Returns a new instance of Convert.

Yields:

  • (_self)

Yield Parameters:



12
13
14
15
16
17
# File 'lib/rscale/processor.rb', line 12

def initialize(file_from, file_to)
  @file_from = File.expand_path(file_from)
  @file_to = File.expand_path(file_to)
  @options = []
  yield self if block_given?
end