method

def_protectedmethod

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_protectedmethod(name, *params)
public

No documentation available.

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