turboladen / tailor

A RubyGem that allows for checking standard styling of Ruby files.
146 stars 18 forks source link

Bogus error: Line has 1 space(s) after a [, but should have 0. #139

Open mconigliaro opened 11 years ago

mconigliaro commented 11 years ago
%W{
  #{foo['bar']}
}.each { |obj| puts obj }
# Problems:
#  1.
#    * position:  3:8
#    * property:  spaces_after_lbracket
#    * message:   Line has 1 space(s) after a [, but should have 0.
mconigliaro commented 11 years ago

It seems to not like the space between |obj| and puts.