Object
# File lib/rabbit/source/uri.rb, line 24 def initial_args_description N_("URI") end
# File lib/rabbit/source/uri.rb, line 14 def new(encoding, logger, uri) parsed_uri = ::URI.parse(uri) case parsed_uri.scheme when nil, /file/ File.new(encoding, logger, parsed_uri.path) else super end end
# File lib/rabbit/source/uri.rb, line 29 def initialize(encoding, logger, uri) @uri = ::URI.parse(uri) super(encoding, logger) @last_modified = nil end
# File lib/rabbit/source/uri.rb, line 39 def extension extract_extension(@uri.path) end
# File lib/rabbit/source/uri.rb, line 35 def need_read? super or old?(@last_modified, :last_modified) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.