class RuboCop::AST::RegexpNode

def ignore_case?

Returns:
  • (Bool) - if regexp uses the ignore-case regopt
def ignore_case?
  regopt_include?(:i)
end