Update ruby.lua
This commit is contained in:
@@ -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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user