1
<SyntaxDefinition name="Ruby" extensions=".rb">
4
<Property name="LineComment" value="#"/>
7
<Digits name="Digits" color="DarkBlue"/>
10
<RuleSet ignorecase="false">
12
<Delimiters>()[]{}@,:.`=;+-*/%~ &|^><</Delimiters>
14
<Span name="Char" stopateol="true" color="Magenta" escapecharacter="\">
19
<Span name="DocComment" color="Green">
24
<Span name="MultiLineComment" color="Green">
29
<Span name="LineComment" stopateol="true" color="Green">
33
<Span name="String" stopateol="true" color="Blue" escapecharacter="\">
38
<MarkPrevious bold="true" color="MidnightBlue">(</MarkPrevious>
40
<KeyWords name="BuiltInStatements" bold="true" color="MidnightBlue">
44
<Key word="autoload"/>
58
<Key word="global_variables"/>
64
<Key word="local_variables"/>
74
<Key word="readline"/>
77
<Key word="set_trace_func"/>
88
<Key word="trace_var"/>
90
<Key word="untrace_var"/>
93
<KeyWords name="ClassStatement" color="Blue" bold="true">
97
<Key word="protected"/>
101
<KeyWords name="ExceptionHandlingStatements" bold="true" color="Teal">
109
<KeyWords name="FunctionDefinition" bold="true" color="Blue">
115
<KeyWords name="Imports" bold="true" color="Green">
120
<KeyWords name="IterationStatements" bold="true" color="Blue">
128
<KeyWords name="JumpStatements" color="Navy">
137
<KeyWords name="OperatorStatements" bold="true" color="DarkCyan">
143
<KeyWords name="NullStatement" color="Gray">
147
<KeyWords name="SelectionStatements" bold="true" color="Blue">
156
<KeyWords name="BooleanStatements" color="DarkViolet">
161
<KeyWords name="DefinedStatement" color="DarkViolet">
162
<Key word="defined"/>
165
<KeyWords name="ClassSelfStatement" color="DarkViolet">
169
<KeyWords name="ClassInheritanceStatement" color="DarkViolet">