diff options
author | Thom May <thom@chef.io> | 2016-01-14 14:08:03 +0000 |
---|---|---|
committer | Thom May <thom@chef.io> | 2016-01-14 14:08:03 +0000 |
commit | 51cfbdc4d16739caac4d946fadbe678444aafe34 (patch) | |
tree | 56dfd8f1cd9fd933de27268b32402e955a43ac2b /lib/chef/data_bag.rb | |
parent | 05064423057d4cf46f4713b81b08829cf6d20af6 (diff) | |
download | chef-51cfbdc4d16739caac4d946fadbe678444aafe34.tar.gz |
Use double quotes by default
This is an entirely mechanically generated (chefstyle -a) change, to go
along with chef/chefstyle#5 . We should pick something and use it
consistently, and my opinion is that double quotes are the appropriate
thing.
Diffstat (limited to 'lib/chef/data_bag.rb')
-rw-r--r-- | lib/chef/data_bag.rb | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/chef/data_bag.rb b/lib/chef/data_bag.rb index 102851b804..66771d325f 100644 --- a/lib/chef/data_bag.rb +++ b/lib/chef/data_bag.rb @@ -18,13 +18,13 @@ # limitations under the License. # -require 'chef/config' -require 'chef/mixin/params_validate' -require 'chef/mixin/from_file' -require 'chef/data_bag_item' -require 'chef/mash' -require 'chef/json_compat' -require 'chef/server_api' +require "chef/config" +require "chef/mixin/params_validate" +require "chef/mixin/from_file" +require "chef/data_bag_item" +require "chef/mash" +require "chef/json_compat" +require "chef/server_api" class Chef class DataBag @@ -44,7 +44,7 @@ class Chef # Create a new Chef::DataBag def initialize(chef_server_rest: nil) - @name = '' + @name = "" @chef_server_rest = chef_server_rest end @@ -58,9 +58,9 @@ class Chef def to_hash result = { - 'name' => @name, - 'json_class' => self.class.name, - 'chef_type' => 'data_bag', + "name" => @name, + "json_class" => self.class.name, + "chef_type" => "data_bag", } result end |