]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/munin/libraries/expand.rb
Remove trailing whitespace in ruby code
[chef.git] / cookbooks / munin / libraries / expand.rb
index 9269761f9ba1fa9d0e212040fc6fd88895f551d4..081dfc5c12299a2bd8ee7544b97e765059363794 100644 (file)
@@ -1,7 +1,7 @@
 class Chef
   class Munin
     def self.expand(template, nodes)
-      nodes.map do |node| 
+      nodes.map do |node|
         if node.kind_of?(Hash)
           template.gsub(/%%([^%]+)%%/) { node[$1.to_sym] }
         else
@@ -9,5 +9,5 @@ class Chef
         end
       end.join(" ")
     end
-  end 
+  end
 end