コード例 #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
ファイル: templates.py プロジェクト: Mekyi/crunchy
 def __init__(self, **options):
     from pygments3.lexers.agile import RubyLexer
     self.ruby_lexer = RubyLexer(**options)
     Lexer.__init__(self, **options)
コード例 #3
0
ファイル: templates.py プロジェクト: wolverine2k/crunchy
 def __init__(self, **options):
     from pygments3.lexers.agile import RubyLexer
     self.ruby_lexer = RubyLexer(**options)
     Lexer.__init__(self, **options)
コード例 #4
0
ファイル: special.py プロジェクト: wolverine2k/crunchy
 def __init__(self, **options):
     self.compress = get_choice_opt(options, 'compress',
                                    ['', 'none', 'gz', 'bz2'], '')
     Lexer.__init__(self, **options)