class Steep::Diagnostic::Ruby::UnexpectedBlockGiven

def header_line

def header_line
  "The method cannot be called with a block"
end

def initialize(node:, method_type:)

def initialize(node:, method_type:)
  loc = node.loc.begin.join(node.loc.end)
  super(node: node, location: loc)
  @method_type = method_type
end