def_method(mod, methodname, fname='(ERB)') public

No documentation

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

Hide source
# File lib/erb.rb, line 748
  def def_method(mod, methodname, fname='(ERB)')  # :nodoc:
    mod.module_eval("def #{methodname}\n" + self.src + "\nend\n", fname, 0)
  end
Register or log in to add new notes.