class RuboCop::AST::UntilNode

def do?

Returns:
  • (Boolean) - whether the `until` node has a `do` keyword
def do?
  loc.begin&.is?('do')
end