method

add_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.

add_method(m, visibility = :public)
public

No documentation available.

# File lib/xsd/codegen/moduledef.rb, line 60
  def add_method(m, visibility = :public)
    @methoddef << [visibility, m]
  end