module Roda::RodaPlugins::HashBranchViewSubdir::ClassMethods

def inherited(subclass)

Duplicate hash_branch_view_subdir metadata in subclass.
def inherited(subclass)
  super
  h = subclass.opts[:hash_branch_view_subdir_methods]
  opts[:hash_branch_view_subdir_methods].each do |namespace, routes|
    h[namespace] = routes.dup
  end
end