method

def_method

ruby latest stable - Class: XSD::CodeGen::ModuleDef

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

def_method(name, *params)
public

No documentation available.

# File lib/xsd/codegen/moduledef.rb, line 46
  def def_method(name, *params)
    add_method(MethodDef.new(name, *params) { yield if block_given? }, :public)
  end