class Lookbook::Entity

def lookup_path

Returns:
  • (String) - The lookup path
def lookup_path
  return @_lookup_path if @_lookup_path
  directory = fetch_config(:logical_path) do
    dir = File.dirname(@lookup_path)
    dir if !dir.start_with?(".")
  end
  @_lookup_path ||= PathUtils.strip_slashes(PathUtils.to_path(directory, name))
end