lib/spec/rails/extensions/object.rb
class Object # :nodoc: def self.path2class(klassname) klassname.split('::').inject(Object) { |k,n| k.const_get n } end end
class Object # :nodoc: def self.path2class(klassname) klassname.split('::').inject(Object) { |k,n| k.const_get n } end end