Class: Log4r::YamlConfigurator
- Inherits:
-
Object
- Object
- Log4r::YamlConfigurator
- Defined in:
- lib/log4r-xmpp/yamlconfigurator.rb
Class Method Summary collapse
-
.paramsub(str) ⇒ Object
Monkey patches paramsub to accept arrays as hash values.
- .paramsub_old ⇒ Object
Class Method Details
.paramsub(str) ⇒ Object
Monkey patches paramsub to accept arrays as hash values
33 34 35 36 37 38 39 |
# File 'lib/log4r-xmpp/yamlconfigurator.rb', line 33 def self.paramsub(str) [str].flatten.each { |val| self.paramsub_old(val) } str.inspect end |
.paramsub_old ⇒ Object
27 |
# File 'lib/log4r-xmpp/yamlconfigurator.rb', line 27 alias_method :paramsub_old, :paramsub |