class RuboCop::Cop::Style::Strip

Identifies places where ‘lstrip.rstrip` can be replaced by `strip`.

@example

# bad
'abc'.lstrip.rstrip
'abc'.rstrip.lstrip

# good
'abc'.strip