class Steep::Diagnostic::Ruby::InsufficientKeywordArguments
def header_line
def header_line "More keyword arguments are required: #{missing_keywords.join(", ")}" end
def initialize(node:, method_name:, method_type:, missing_keywords:)
def initialize(node:, method_name:, method_type:, missing_keywords:) send = case node.type when :send, :csend node when :block, :numblock node.children[0] end loc = if send send.loc.selector.with(end_pos: send.loc.expression.end_pos) else node.loc.expression end super(node: node, location: loc) @method_name = method_name @method_type = method_type @missing_keywords = missing_keywords end