Back to index

moin  1.9.0~rc2
Public Member Functions | Static Public Attributes
MoinMoin.support.pygments.lexers.parsers.RagelRubyLexer Class Reference
Inheritance diagram for MoinMoin.support.pygments.lexers.parsers.RagelRubyLexer:
Inheritance graph
[legend]
Collaboration diagram for MoinMoin.support.pygments.lexers.parsers.RagelRubyLexer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def analyse_text

Static Public Attributes

string name = 'Ragel in Ruby Host'
list aliases = ['ragel-ruby', 'ragel-rb']
list filenames = ['*.rl']

Detailed Description

A lexer for `Ragel`_ in a Ruby host file.

*New in Pygments 1.1.*

Definition at line 212 of file parsers.py.


Constructor & Destructor Documentation

Definition at line 223 of file parsers.py.

00223 
00224     def __init__(self, **options):
00225         super(RagelRubyLexer, self).__init__(RubyLexer, RagelEmbeddedLexer,
00226                                               **options)


Member Function Documentation

Definition at line 227 of file parsers.py.

00227 
00228     def analyse_text(text):
00229         return '@LANG: ruby' in text
00230 


Member Data Documentation

list MoinMoin.support.pygments.lexers.parsers.RagelRubyLexer.aliases = ['ragel-ruby', 'ragel-rb'] [static]

Definition at line 220 of file parsers.py.

Definition at line 221 of file parsers.py.

string MoinMoin.support.pygments.lexers.parsers.RagelRubyLexer.name = 'Ragel in Ruby Host' [static]

Definition at line 219 of file parsers.py.


The documentation for this class was generated from the following file: