module MyPath

Public Class Methods

local_path_for(path) click to toggle source

Insstead of just finding one based on can_handle, it should call each in turn until it gets a path

# File lib/mypath.rb, line 10
def local_path_for(path)
  handler = Handler.for(path)
  if handler
    handler.local_path
  end
end