lib/kitchen/collection.rb in test-kitchen-1.14.1 vs lib/kitchen/collection.rb in test-kitchen-1.14.2

- old
+ new

@@ -17,17 +17,15 @@ # limitations under the License. require "delegate" module Kitchen - # Delegate class which adds the ability to find single and multiple # objects by their #name in an Array. Hey, it's better than monkey-patching # Array, right? # # @author Fletcher Nichol <fnichol@nichol.ca> class Collection < SimpleDelegator - # Returns a single object by its name, or nil if none are found. # # @param name [String] name of object # @return [Object] first match by name, or nil if none are found def get(name)