class Syntropy::App
def find_up_tree_module(path)
def find_up_tree_module(path) parent = parent_path(path) return NOT_FOUND if !parent entry = find_route("#{parent}+.rb", cache: false) entry[:kind] == :module ? entry : NOT_FOUND end
def find_up_tree_module(path) parent = parent_path(path) return NOT_FOUND if !parent entry = find_route("#{parent}+.rb", cache: false) entry[:kind] == :module ? entry : NOT_FOUND end