def define(m)
      if m.is_a?(Method)
        define_method_from_descriptor(m)
      elsif m.is_a?(Signal)
        define_signal_from_descriptor(m)
      end
    end
def define(m)
      if m.is_a?(Method)
        define_method_from_descriptor(m)
      elsif m.is_a?(Signal)
        define_signal_from_descriptor(m)
      end
    end
Defines a signal or method based on the descriptor _m_.