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 = {} local template = {}
template.parent = { template.parent = {
func = { "method" }, func = { "method", "singleton_method" },
class = { "class", "module" }, class = { "class", "module" },
type = { "call" }, type = { "call" },
} }
@@ -20,7 +20,7 @@ local identifier = {
template.data = { template.data = {
func = { func = {
["method"] = { ["method|singleton_method"] = {
["0"] = { ["0"] = {
extract = function(node) extract = function(node)
local tree = { local tree = {