class SyntaxTree::Index::SingletonMethodDefinition
This entry represents a singleton method definition using the def keyword with a specified target.
Attributes
comments[R]
location[R]
name[R]
nesting[R]
Public Class Methods
new(nesting, name, location, comments)
click to toggle source
# File lib/syntax_tree/index.rb, line 75 def initialize(nesting, name, location, comments) @nesting = nesting @name = name @location = location @comments = comments end