lib/chef-api/configurable.rb in chef-api-0.10.0 vs lib/chef-api/configurable.rb in chef-api-0.10.2

- old
+ new

@@ -9,23 +9,23 @@ # The list of configurable keys. # # @return [Array<Symbol>] # def keys - @keys ||= [ - :endpoint, - :flavor, - :client, - :key, - :proxy_address, - :proxy_password, - :proxy_port, - :proxy_username, - :ssl_pem_file, - :ssl_verify, - :user_agent, - :read_timeout, - ] + @keys ||= %i{ + endpoint + flavor + client + key + proxy_address + proxy_password + proxy_port + proxy_username + ssl_pem_file + ssl_verify + user_agent + read_timeout + } end end # # Create one attribute getter and setter for each key.