class Function < Method
- Inherits from
Method: #short_form, #long_form, #qualified_form, #qualified_name, #convert, #public?, #protected?, #private?, #multiline?, #text, #location, #inspect, #name, #full_path, #coverage_relevant?, #documented?, #start_with?, #container?, #alias?, #nested?, #documentation
A Ruby-specific function.
Definitions
def nested_name
Generate a nested name for the function.
Implementation
def nested_name
".#{@name}"
end
def arguments_node
The node which contains the function arguments.
Implementation
def arguments_node
if node = @node.children[2]
if node.location.expression
return node
end
end
end