Flowdock
def_post_proc(base_method, extend_method) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/irb/extend-command.rb, line 240
    def def_post_proc(base_method, extend_method)
      base_method = base_method.to_s
      extend_method = extend_method.to_s

      alias_name = new_alias_name(base_method)
      module_eval %[
        alias_method alias_name, base_method
        def #{base_method}(*opts)
          send :#{alias_name}, *opts
          send :#{extend_method}, *opts
        end
      ]
    end
Register or log in to add new notes.