module Ruby

Represents an interface for extracting information from Ruby source code.

Nested Classes and Modules

class Alias

Represents an alias statement, e.g., alias new_name old_name or alias_method :new_name, :old_name

class Attribute

A Ruby-specific attribute.

class Block

A Ruby-specific block which might carry other definitions.

class Call

A Ruby-specific block which might carry other definitions.

class Class

A Ruby-specific class.

class Singleton

A Ruby-specific singleton class.

class Code

A Ruby-specific block of code.

class Constant

A Ruby-specific constant.

class Definition

Represents a Ruby-specific definition extracted from source code.

class Function

A Ruby-specific function.

class Generic

Represents the Ruby language implementation for parsing and analysis.

class Method

A Ruby-specific method.

class Module

A Ruby-specific module.

class Parser

The Ruby source code parser.

class Reference

An Ruby-specific reference which can be resolved to zero or more definitions.

class Segment

A Ruby specific code segment.

Definitions

def self.new

Create a new Ruby language instance.

Signature

returns Ruby::Generic

A configured Ruby language parser.

Implementation

def self.new
	Generic.new("ruby")
end