lib/ohm.rb in ohm-2.0.0.alpha3 vs lib/ohm.rb in ohm-2.0.0.alpha4

- old
+ new

@@ -63,10 +63,11 @@ # reference :user, :User # end # def self.const(context, name) case name - when Symbol then context.const_get(name) + when Symbol, String + context.const_get(name) else name end end def self.dict(arr)