lib/hanami/config/load_paths.rb in hanami-1.1.0.beta3 vs lib/hanami/config/load_paths.rb in hanami-1.1.0.rc1

- old
+ new

@@ -6,24 +6,38 @@ # Define the load paths where the application should load # # @since 0.1.0 # @api private class LoadPaths < Utils::LoadPaths + # Overrides Utils::LoadPath initialize method + # + # @see Hanami::Utils::LoadPaths#initialize + # + # @since 0.1.0 # @api private def initialize(root) super() @root = root end + # Requires relative @pats [Utils::Kernel.Array] variable via each method + # + # @see Hanami::Utils::LoadPaths#each + # + # @since 0.1.0 # @api private def load! each do |path| Utils.require!(path) end end protected + # Overrides Utils::LoadPath realpath method + # + # @see Hanami::Utils::LoadPaths#realpath + # # @api private def realpath(path) @root.join(path).realpath end end