lib/hanami/application_namespace.rb in hanami-1.0.0 vs lib/hanami/application_namespace.rb in hanami-1.1.0.beta1
- old
+ new
@@ -5,10 +5,10 @@
# @api private
class ApplicationNamespace
# @api private
def self.resolve(name)
Utils::Class.load!(
- Utils::String.new(name).namespace
+ Utils::String.namespace(name)
)
end
end
end