lib/qonfig/data_set.rb in qonfig-0.9.0 vs lib/qonfig/data_set.rb in qonfig-0.10.0
- old
+ new
@@ -102,9 +102,18 @@
# @since 0.9.0
def slice(*keys)
thread_safe_access { settings.__slice__(*keys) }
end
+ # @param keys [Array<String, Symbol>]
+ # @return [Hash,Any]
+ #
+ # @api public
+ # @since 0.10.0
+ def slice_value(*keys)
+ thread_safe_access { settings.__slice_value__(*keys) }
+ end
+
# @return [void]
#
# @api public
# @since 0.2.0
def clear!