# File lib/blockenspiel/builder.rb, line 187
    def add_method(name_, opts_={}, &block_)
      receive_block_ = opts_[:receive_block] ? :last : opts_[:block]
      receive_block_ = :first if receive_block_ && receive_block_ != :last
      @target_class._add_methodinfo(name_, block_, receive_block_)
      dsl_method_name_ = opts_[:dsl_method] || opts_[:mixin]
      if dsl_method_name_ != false
        dsl_method_name_ = name_ if dsl_method_name_.nil? || dsl_method_name_ == true
        @target_class.dsl_method(dsl_method_name_, name_)
      end
    end