Sha256: b5dbcb1e081cfc685003e23120f5c6906bbf17d4bd07e152edf26797bd0f0c62
Contents?: true
Size: 769 Bytes
Versions: 3
Compression:
Stored size: 769 Bytes
Contents
module Uricp::Strategy class LocalConvert include Uricp::Strategy::LocalConvertCommon def appropriate? if conversion_required? && file_source? && supported_source? return proposal end debug "#{self.class.name}: not appropriate" false end def command qemu_img_command(proposed_path) end def proposal @proposed_options = options.dup if to.scheme == 'file' @proposed_options['from_uri'] = @proposed_options['to_uri'] else @proposed_options['from_uri'] = temp_uri @proposed_options['clean'] ||= [] @proposed_options['clean'] << proposed_path end @proposed_options.delete('source-format') @proposed_options.delete('target-format') self end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
uricp-0.0.3 | lib/uricp/strategy/local_convert.rb |
uricp-0.0.2 | lib/uricp/strategy/local_convert.rb |
uricp-0.0.1 | lib/uricp/strategy/local_convert.rb |