method

def_erb_method

Importance_1
def_erb_method(methodname, erb_or_fname) public

define methodname as instance method of current module, using ERB object or eRuby file

Show source
Register or log in to add new notes.