lib/qonfig/configurable.rb in qonfig-0.5.0 vs lib/qonfig/configurable.rb in qonfig-0.6.0
- old
+ new
@@ -92,9 +92,17 @@
self.class.instance_variable_get(:@__qonfig_definition_lock__).synchronize do
@__qonfig_config__ ||= self.class.instance_variable_get(:@__qonfig_config_klass__).new
end
end
+ # @return [Qonfig::DataSet]
+ #
+ # @api public
+ # @since 0.6.0
+ def shared_config
+ self.class.config
+ end
+
# @param options_map [Hash]
# @param block [Proc]
# @return [void]
#
# @api public