示例#1
0
文件: special.py 项目: Mekyi/crunchy
 def __init__(self, **options):
     self.compress = get_choice_opt(options, "compress", ["", "none", "gz", "bz2"], "")
     Lexer.__init__(self, **options)
示例#2
0
 def __init__(self, **options):
     from pygments3.lexers.agile import RubyLexer
     self.ruby_lexer = RubyLexer(**options)
     Lexer.__init__(self, **options)
示例#3
0
 def __init__(self, **options):
     from pygments3.lexers.agile import RubyLexer
     self.ruby_lexer = RubyLexer(**options)
     Lexer.__init__(self, **options)
示例#4
0
 def __init__(self, **options):
     self.compress = get_choice_opt(options, 'compress',
                                    ['', 'none', 'gz', 'bz2'], '')
     Lexer.__init__(self, **options)