Refactor env logging common usages with a module

This commit is contained in:
Thibault Jouan
2015-04-18 18:04:05 +00:00
parent 5a102e7739
commit a9466a49f0
5 changed files with 33 additions and 15 deletions

8
lib/uh/wm/env_logging.rb Normal file
View File

@@ -0,0 +1,8 @@
module Uh
module WM
module EnvLogging
extend Forwardable
def_delegators :@env, :log, :log_error, :log_debug
end
end
end