2021-01-05 19:26:08 +07:00
|
|
|
[
|
|
|
|
|
(class)
|
2021-04-17 06:52:14 +01:00
|
|
|
(singleton_class)
|
2021-01-05 19:26:08 +07:00
|
|
|
(method)
|
2021-03-13 18:41:44 +01:00
|
|
|
(singleton_method)
|
2021-01-05 19:26:08 +07:00
|
|
|
(module)
|
|
|
|
|
(call)
|
|
|
|
|
(if)
|
2021-03-13 18:41:44 +01:00
|
|
|
(block)
|
|
|
|
|
(do_block)
|
|
|
|
|
(hash)
|
|
|
|
|
(array)
|
|
|
|
|
(argument_list)
|
|
|
|
|
(case)
|
2022-02-19 15:34:55 -05:00
|
|
|
(while)
|
|
|
|
|
(until)
|
|
|
|
|
(for)
|
|
|
|
|
(begin)
|
2022-07-09 16:58:25 +08:00
|
|
|
(unless)
|
|
|
|
|
(assignment)
|
2022-08-13 16:06:07 +08:00
|
|
|
(parenthesized_statements)
|
2023-03-20 14:44:39 -07:00
|
|
|
] @indent.begin
|
2021-01-05 19:26:08 +07:00
|
|
|
|
2022-02-19 13:47:27 -05:00
|
|
|
[
|
|
|
|
|
"end"
|
|
|
|
|
")"
|
|
|
|
|
"}"
|
|
|
|
|
"]"
|
2023-03-20 14:44:39 -07:00
|
|
|
] @indent.end
|
2022-02-19 13:47:27 -05:00
|
|
|
|
2021-01-05 19:26:08 +07:00
|
|
|
[
|
2023-01-09 20:04:43 +01:00
|
|
|
"end"
|
2021-03-13 18:41:44 +01:00
|
|
|
")"
|
|
|
|
|
"}"
|
|
|
|
|
"]"
|
|
|
|
|
(when)
|
2021-01-05 19:26:08 +07:00
|
|
|
(elsif)
|
2022-02-19 15:34:55 -05:00
|
|
|
(else)
|
2023-01-06 14:57:55 +01:00
|
|
|
(rescue)
|
|
|
|
|
(ensure)
|
2023-03-20 14:44:39 -07:00
|
|
|
] @indent.branch
|
2021-03-01 20:20:37 +07:00
|
|
|
|
2023-03-20 14:44:39 -07:00
|
|
|
(comment) @indent.ignore
|