class RuboCop::Cop::Layout::SpaceInLambdaLiteral

Checks for spaces between ‘->` and opening parameter parenthesis (`(`) in lambda literals.

@example EnforcedStyle: require_no_space (default)

# bad
a = -> (x, y) { x + y }

# good
a = ->(x, y) { x + y }

@example EnforcedStyle: require_space

# bad
a = ->(x, y) { x + y }

# good
a = -> (x, y) { x + y }