lib/sitehub/collection/route_collection.rb in sitehub-0.5.0.alpha7 vs lib/sitehub/collection/route_collection.rb in sitehub-0.5.0.alpha8
- old
+ new
@@ -1,5 +1,8 @@
require_relative '../collection'
+# rubocop:disable Lint/UnusedMethodArgument -
+# this is because #resolve is supporting a duck typed interface and needs the env parameter
+
class SiteHub
class Collection < Hash
class RouteCollection < Collection
def add(id, route, *_opts)
self[id] = route