�
|�e�X � �� � d Z ddlZddlmZmZmZmZmZmZm Z m
Z
mZmZ ddl
mZmZmZmZmZmZmZmZmZmZmZ ddlmZ g d�ZdZ G d� d e� Z G d
� de� Z G d� d
e� Zy)z�
pygments.lexers.ruby
~~~~~~~~~~~~~~~~~~~~
Lexers for Ruby and related languages.
:copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
� N)
�Lexer�
RegexLexer�ExtendedRegexLexer�include�bygroups�default�LexerContext�
do_insertions�words�line_re)�Text�Comment�Operator�Keyword�Name�String�Number�Punctuation�Error�Generic�
Whitespace��shebang_matches)� RubyLexer�RubyConsoleLexer�
FancyLexer)�*z**�-�+z-@z+@�/�%�&�|�^�`�~z[]z[]=�<<z>>�<�<>z<=>�>z>=z==z===c �4 � e Zd ZdZdZdZg d�Zg d�ZddgZe j e j z Zd� Z
d � Zg d
ej f�dej" |