DecodeSourceDecodeLanguageRubyModule

class Module

A Ruby-specific module.

Definitions

def container?

A module is a container for other definitions.

Implementation

def container?
	true
end

def short_form

The short form of the module. e.g. module Barnyard.

Implementation

def short_form
	"module #{self.name}"
end

def long_form

Generate a long form representation of the module.

Implementation

def long_form
	qualified_form
end

def qualified_form

The fully qualified name of the module. e.g. module ::Barnyard::Dog.

Implementation

def qualified_form
	"module #{self.qualified_name}"
end