Add new created files to previous commit

This commit is contained in:
Christophe Vilayphiou committed 2012-02-16 13:09:09 +08:00
1 parent e0accbecaa
commit 4389f0cf28
6 files changed
+53

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
module ActiveSupport::Inflector
def dehumanize(the_string)
the_string.gsub(' ', '_').downcase
end
end
class String
def dehumanize
ActiveSupport::Inflector.dehumanize(self)
end
end