Update ruby.lua

This commit is contained in:
yorik1984
2023-01-06 04:02:41 +02:00
committed by GitHub
parent 71f16ffb48
commit 83f9c12453

View File

@@ -6,7 +6,7 @@ local extractors = require("neogen.utilities.extractors")
local template = {}
template.parent = {
func = { "method" },
func = { "method", "singleton_method" },
class = { "class", "module" },
type = { "call" },
}
@@ -20,7 +20,7 @@ local identifier = {
template.data = {
func = {
["method"] = {
["method|singleton_method"] = {
["0"] = {
extract = function(node)
local tree = {