lib/dry/container/namespace.rb in dry-container-0.9.0 vs lib/dry/container/namespace.rb in dry-container-0.10.0
- old
+ new
@@ -22,9 +22,10 @@
class Namespace
# @return [Mixed] The namespace (name)
attr_reader :name
# @return [Proc] The block to be executed when the namespace is imported
attr_reader :block
+
# Create a new namespace
#
# @param [Mixed] name
# The name of the namespace
# @yield