lib/mack-facets/extensions/string.rb in mack-facets-0.7.1.1 vs lib/mack-facets/extensions/string.rb in mack-facets-0.8.0
- old
+ new
@@ -1,8 +1,8 @@
class String
include Style
- alias_method :underscore, :snakecase
+ alias_instance_method :snakecase, :underscore
def methodize
x = self
# if we get down to a nil or an empty string raise an exception!