Class/Module Index [+]

Quicksearch

YARD::Parser::Ruby::MethodCallNode

Public Instance Methods

block_param() click to toggle source
# File lib/yard/parser/ruby/ast_node.rb, line 368
def block_param; parameters.last end
call?() click to toggle source
# File lib/yard/parser/ruby/ast_node.rb, line 352
def call?; true end
method_name(name_only = false) click to toggle source
# File lib/yard/parser/ruby/ast_node.rb, line 355
def method_name(name_only = false)
  name = self[index_adjust]
  name_only ? name.jump(:ident).first.to_sym : name
end
namespace() click to toggle source
# File lib/yard/parser/ruby/ast_node.rb, line 353
def namespace; first if index_adjust > 0 end
parameters(include_block_param = true) click to toggle source
# File lib/yard/parser/ruby/ast_node.rb, line 360
def parameters(include_block_param = true)
  params = self[1 + index_adjust]
  return [] unless params
  params = call_has_paren? ? params.first : params
  return [] unless params
  include_block_param ? params : params[0...-1]
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.