Method: Protocol::ProtocolModule#extend_object

Defined in:
lib/protocol/protocol_module.rb

#extend_object(object) ⇒ Object



183
184
185
186
187
188
189
190
# File 'lib/protocol/protocol_module.rb', line 183

def extend_object(object)
  result = super
  if @mode == :error or @mode == :warning
    $DEBUG and warn "#{name} is checking class #{object}"
    check object
  end
  result
end