summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Gartrell <jgartrel@stevenbeulow2.servepath.com>2009-03-04 13:40:36 -0800
committerJames Gartrell <jgartrel@stevenbeulow2.servepath.com>2009-03-04 13:40:36 -0800
commitb00b348ad7c3ee478fba59ab15cc308cca36cd9c (patch)
tree126b7ce41068ad63c0d3369567510140874baf74
parentba4e4dc4468861a89496c0207ea6e4a0e8a0cbb8 (diff)
downloadohai-b00b348ad7c3ee478fba59ab15cc308cca36cd9c.tar.gz
Remove commented out code
-rw-r--r--lib/ohai/mixin/string.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/ohai/mixin/string.rb b/lib/ohai/mixin/string.rb
index cf045522..dd3a35ff 100644
--- a/lib/ohai/mixin/string.rb
+++ b/lib/ohai/mixin/string.rb
@@ -22,20 +22,3 @@ class String
gsub(/([a-z\d])([A-Z])/,'\1_\2').tr("-", "_").downcase
end
end
-
-#module Ohai
-# module Mixin
-# module Inflections
-# # Add string function to handle WMI conversion
-# #
-# #
-# #
-# class String
-# def wmi_underscore
-# self.gsub(/::/, '/').gsub(/([A-Z]+)([A-Z][a-z])/,'\1_\2').
-# gsub(/([a-z\d])([A-Z])/,'\1_\2').tr("-", "_").downcase
-# end
-# end
-# end
-# end
-#end