method

new

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: XSD::CodeGen::MethodDef
new(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/methoddef.rb, line 23
  def initialize(name, *params)
    unless safemethodname?(name)
      raise ArgumentError.new("name '#{name}' seems to be unsafe")
    end
    @name = name
    @params = params
    @comment = nil
    @definition = yield if block_given?
  end
Register or log in to add new notes.