Class

XSD::CodeGen::ModuleDef

Inheritance
< Object
Included Modules
GenSupport, CommentDef

Methods

Class

Visibility Signature
public new (name)

Instance

Visibility Signature
public add_method (m, visibility = :public)
public def_code (code)
public def_const (const, value)
public def_method (name, *params) {|if block_given?| ...}
public def_privatemethod (name, *params) {|if block_given?| ...}
public def_protectedmethod (name, *params) {|if block_given?| ...}
public def_publicmethod (name, *params)
public def_require (path)
public dump ()

Class Method Detail

new(name)

Instance Method Detail

add_method(m, visibility = :public)

def_code(code)

def_const(const, value)

def_method(name, *params) {|if block_given?| ...}

def_privatemethod(name, *params) {|if block_given?| ...}

def_protectedmethod(name, *params) {|if block_given?| ...}

def_publicmethod(name, *params)

Alias for def_method

def_require(path)

dump()