class Opal::Hike::Index
def find(logical_path)
time index and delegates here.
The real implementation of `find`. `Trail#find` generates a one
def find(logical_path) base_path = Pathname.new(@root) logical_path = Pathname.new(logical_path.sub(/^\//, '')) if logical_path.to_s =~ %r{^\.\.?/} find_in_base_path(logical_path, base_path) { |path| return path } else find_in_paths(logical_path) { |path| return path } end nil end