diff --git a/lib/vagrant/registry.rb b/lib/vagrant/registry.rb index df8147c9e..e69574ed8 100644 --- a/lib/vagrant/registry.rb +++ b/lib/vagrant/registry.rb @@ -34,6 +34,13 @@ module Vagrant def has_key?(key) @items.has_key?(key) end + + # Returns an array populated with the keys of this object. + # + # @return [Array] + def keys + @items.keys + end # Iterate over the keyspace. def each(&block)