class Fontina::Fetchers::Preprocessor

Public Instance Methods

fetch(location) click to toggle source
Calls superclass method
# File lib/fontina/fetchers/preprocessor.rb, line 8
def fetch(location)
  begin
    uri = URI.parse location
    location = uri if uri.scheme && !uri.opaque
  rescue URI::Error; end

  super
end