Method: ALib::Logging.append_features

Defined in:
lib/alib-0.5.1/logging.rb

.append_features(c) ⇒ Object

–{{{



193
194
195
196
197
198
199
200
201
202
203
204
205
206
# File 'lib/alib-0.5.1/logging.rb', line 193

def append_features c
#--{{{
  return self if((LogMethods === c) or (LogClassMethods === c)) 
  ret = super rescue(return(self))
  c.module_eval{
    extend LogClassMethods
    include LogMethods
    extend LogMethods
  }
  #c.extend LogMethods
  #c.extend LogClassMethods
  ret
#--}}}
end