Skip to content

Commit

Permalink
fixed example so log file is in current path
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Hurring committed Mar 10, 2011
1 parent 2cbf513 commit 4cf2130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/examples.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# test module functionality
module Hello
include ClassLogger
has_logger :in => "%{class_name}.log", :as => :my_logger
has_logger :in => "%{caller_path}/%{class_name}.log", :as => :my_logger

def self.alternate
loggers[:my_logger]
Expand Down

0 comments on commit 4cf2130

Please sign in to comment.