method

def_privatemethod

Importance_0
v1_8_7_72 - Show latest stable - 0 notes - Class: XSD::CodeGen::ModuleDef
def_privatemethod(name, *params) public

No documentation

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

Hide source
# File lib/xsd/codegen/moduledef.rb, line 56
  def def_privatemethod(name, *params)
    add_method(MethodDef.new(name, *params) { yield if block_given? }, :private)
  end
Register or log in to add new notes.