lib/dry/container/namespace.rb in dry-container-0.2.2 vs lib/dry/container/namespace.rb in dry-container-0.2.3
- old
+ new
@@ -16,10 +16,13 @@
# => 'item'
#
#
# @api public
class Namespace
- attr_reader :name, :block
+ # @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