Sha256: 2bba07c9cff35f7e930700e5a573b7abb52a9d3289564ee5ae3aa9eee7e073a1
Contents?: true
Size: 488 Bytes
Versions: 12
Compression:
Stored size: 488 Bytes
Contents
# frozen_string_literal: true 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 "< '#{from.path}' " end def proposal @proposed_options = options.dup @proposed_options['from_uri'] = PIPE_URI self end end end
Version data entries
12 entries across 12 versions & 1 rubygems