class Uricp::Strategy::PipedLocalGet
Public Instance Methods
appropriate?()
click to toggle source
# File lib/uricp/strategy/piped_local_get.rb, line 5 def appropriate? case from.scheme when 'file' return proposal unless sequence_complete? end debug "#{self.class.name}: not appropriate" false end
command()
click to toggle source
# File lib/uricp/strategy/piped_local_get.rb, line 14 def command "< '#{from.path}' " end
proposal()
click to toggle source
# File lib/uricp/strategy/piped_local_get.rb, line 18 def proposal @proposed_options = options.dup @proposed_options['from_uri'] = PIPE_URI self end