module Ruby
Represents an interface for extracting information from Ruby source code.
Nested Classes and Modules
class AliasRepresents an alias statement, e.g.,
alias new_name old_nameoralias_method :new_name, :old_nameclass AttributeA Ruby-specific attribute.
class BlockA Ruby-specific block which might carry other definitions.
class CallA Ruby-specific block which might carry other definitions.
class ClassA Ruby-specific class.
class SingletonA Ruby-specific singleton class.
class CodeA Ruby-specific block of code.
class ConstantA Ruby-specific constant.
class DefinitionRepresents a Ruby-specific definition extracted from source code.
class FunctionA Ruby-specific function.
class GenericRepresents the Ruby language implementation for parsing and analysis.
class MethodA Ruby-specific method.
class ModuleA Ruby-specific module.
class ParserThe Ruby source code parser.
class ReferenceAn Ruby-specific reference which can be resolved to zero or more definitions.
class SegmentA 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