class SyntaxTree::Index::MethodDefinition
This entry represents a method definition using the def keyword.
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 62 def initialize(nesting, name, location, comments) @nesting = nesting @name = name @location = location @comments = comments end