lib/ronin/platform/extension_cache.rb in ronin-0.2.2 vs lib/ronin/platform/extension_cache.rb in ronin-0.2.3
- old
+ new
@@ -44,10 +44,16 @@
end
block.call(self) if block
end
- alias names keys
+ #
+ # Returns the sorted names of the extensions within the cache.
+ #
+ def names
+ keys.sort
+ end
+
alias extensions values
alias each_extension each_value
#
# Selects the extensions within the cache that match the specified