]> git.openstreetmap.org Git - chef.git/commitdiff
Make an EditedFile look like a string
authorTom Hughes <tom@compton.nu>
Sat, 23 Nov 2013 20:12:58 +0000 (20:12 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 23 Nov 2013 20:12:58 +0000 (20:12 +0000)
cookbooks/chef/libraries/edit_file.rb

index 400e1967e0c96718f84733728d6c8d621f25963a..9048da84e6c54305e1bc461af45ff46844a3a153 100644 (file)
@@ -1,6 +1,6 @@
 class Chef
   class Util
-    class EditedFile
+    class EditedFile < String
       def initialize(file, block)
         @file = file
         @block = block