lib/resonance/supports/converter.rb in resonance-0.3.2 vs lib/resonance/supports/converter.rb in resonance-0.3.3
- old
+ new
@@ -4,10 +4,10 @@
module Supports
module Converter
private
def classify(str)
- str.capitalize.constantize
+ str.camelize.constantize
end
def pluralize(str)
str.pluralize
end