lib/hanami.rb in hanami-1.0.0.beta2 vs lib/hanami.rb in hanami-1.0.0.beta3
- old
+ new
@@ -80,17 +80,13 @@
# Boot your Hanami project
#
# NOTE: In case this is invoked many times, it guarantees that the boot
# process happens only once.
#
- # NOTE: There is no reason to cache the result with `@_booted`, because it
- # already caches it internally.
- #
# NOTE: This MUST NOT be wrapped by a Mutex, because it would cause a deadlock.
#
# @since 0.9.0
- # @api private
def self.boot
Components.release if code_reloading?
Components.resolve('all')
end
@@ -133,10 +129,9 @@
# Project public directory
#
# @return [Pathname] public directory
#
# @since 0.6.0
- # @api private
#
# @example
# Hanami.public_directory # => #<Pathname:/Users/luca/Code/bookshelf/public>
def self.public_directory
root.join(DEFAULT_PUBLIC_DIRECTORY)