class Decode::Language::Ruby::Function

A Ruby-specific function.

Public Instance Methods

arguments_node() click to toggle source

The node which contains the function arguments.

# File lib/decode/language/ruby/function.rb, line 33
def arguments_node
        if node = @node.children[2]
                if node.location.expression
                        return node
                end
        end
end
nested_name() click to toggle source
# File lib/decode/language/ruby/function.rb, line 28
def nested_name
        ".#{@name}"
end