lib/roda/plugins/hash_routes.rb
def inherited(subclass)
          super

          [:hash_branches, :hash_paths].each do |k|
            h = subclass.opts[k]
            opts[k].each do |namespace, routes|
              h[namespace] = routes.dup
            end
          end
        end
# Duplicate hash_routes metadata in subclass.
Duplicate hash_routes metadata in subclass.
Duplicate hash_routes metadata in subclass .
def inherited(subclass)
          super
          [:hash_branches, :hash_paths].each do |k|
            h = subclass.opts[k]
            opts[k].each do |namespace, routes|
              h[namespace] = routes.dup
            end
          end
        end
def inherited ( subclass ) super [ :hash_branches , :hash_paths ] . each do | k | h = subclass . opts [ k ] opts [ k ] . each do | namespace , routes | h [ namespace ] = routes . dup end end end
Duplicate hash_routes metadata in subclass.
Duplicate hash_routes metadata in subclass .
subclass