lib/sugar-high/module.rb in sugar-high-0.2.12 vs lib/sugar-high/module.rb in sugar-high-0.3.0
- old
+ new
@@ -1,9 +1,8 @@
require 'active_support/inflector'
class Module
def last_name
- # name.gsub /^(.*)::/, ''
name.demodulize
end
alias_method :demodulize, :last_name
end