Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/logging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ def basepath=( path )
# <tt>File.join</tt>.
#
def libpath( *args, &block )
rv = args.empty? ? LIBPATH : ::File.join(LIBPATH, args.flatten)
rv = args.empty? ? LIBPATH : ::File.join(LIBPATH, *args.flatten)
if block
begin
$LOAD_PATH.unshift LIBPATH
Expand All @@ -406,7 +406,7 @@ def libpath( *args, &block )
# <tt>File.join</tt>.
#
def path( *args, &block )
rv = args.empty? ? PATH : ::File.join(PATH, args.flatten)
rv = args.empty? ? PATH : ::File.join(PATH, *args.flatten)
if block
begin
$LOAD_PATH.unshift PATH
Expand Down