diff options
author | Claire McQuin <claire@opscode.com> | 2013-07-17 11:18:58 -0700 |
---|---|---|
committer | Claire McQuin <claire@opscode.com> | 2013-07-17 11:18:58 -0700 |
commit | 9a0974a48e4f86fc58e43829a338cd59b9579720 (patch) | |
tree | dc79a073ad822d26e99705b244eefb4d3cbe0595 /lib/chef/util | |
parent | b303ae5a0162ac3e8706c7d561bfa4e17c603276 (diff) | |
download | chef-9a0974a48e4f86fc58e43829a338cd59b9579720.tar.gz |
IO:: -> IO.
Diffstat (limited to 'lib/chef/util')
-rw-r--r-- | lib/chef/util/diff.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/util/diff.rb b/lib/chef/util/diff.rb index 33ec6ef857..44d167f776 100644 --- a/lib/chef/util/diff.rb +++ b/lib/chef/util/diff.rb @@ -143,8 +143,8 @@ class Chef diff_str = "" file_length_difference = 0 - old_data = IO::readlines(old_file).map { |e| e.chomp } - new_data = IO::readlines(new_file).map { |e| e.chomp } + old_data = IO.readlines(old_file).map { |e| e.chomp } + new_data = IO.readlines(new_file).map { |e| e.chomp } diff_data = ::Diff::LCS.diff(old_data, new_data) return diff_str if old_data.empty? && new_data.empty? |