Sha256: 326c1ca671b92c3b6d076f5091a9bea2ad76b6a1bd78ce974ddeb22e78a065ec
Contents?: true
Size: 465 Bytes
Versions: 4
Compression:
Stored size: 465 Bytes
Contents
module Uricp::Strategy class PipedLocalGet include Uricp::Strategy::Common def appropriate? case from.scheme when 'file' return proposal unless sequence_complete? end debug "#{self.class.name}: not appropriate" false end def command "cat #{from.path} |" end def proposal @proposed_options = options.dup @proposed_options['from_uri'] = PIPE_URI self end end end
Version data entries
4 entries across 4 versions & 1 rubygems