class RuboCop::Cop::Layout::SpaceInsideStringInterpolation

Checks for whitespace within string interpolations.

@example EnforcedStyle: no_space (default)

# bad
   var = "This is the #{ space } example"

# good
   var = "This is the #{no_space} example"

@example EnforcedStyle: space

# bad
   var = "This is the #{no_space} example"

# good
   var = "This is the #{ space } example"