class Fontina::Fetchers::LocalFilePath

Public Instance Methods

fetch(location) click to toggle source
Calls superclass method
# File lib/fontina/fetchers/local_file_path.rb, line 6
def fetch(location)
  return super unless location.is_a? String

  Result[IO.binread(location), File.basename(location)]
end