Sha256: e3274a586930946a0e2a684910e1115e105663374eadaaf92d8e498ced3ddd81
Contents?: true
Size: 641 Bytes
Versions: 7
Compression:
Stored size: 641 Bytes
Contents
$:.unshift File.dirname(__FILE__) require 'iso' module Visage class Converter def initialize( source, destination ) @source = source @destination = destination end def process if( Visage.valid_source_file?( @source ) ) iso = Visage::ISO.new( @source, @destination ) iso.process else Dir.open( @source ).entries.each do | file | if( Visage.valid_source_file?( file ) ) iso = Visage::ISO.new( File.join( @source, file ), @destination ) iso.process end end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems