class RuboCop::AST::RegexpNode

def no_encoding?

Returns:
  • (Bool) - if regexp uses the no-encoding regopt
def no_encoding?
  regopt_include?(:n)
end