bglusman/Outlaw — Issue #2: HEREDOCS generally ugly
Author: sandal
Created: 2012-01-29 09:52:46+00:00
State: open

Hi Brian,

Outlaw shouldn't be whitespace sensitive, right? If not, I'd prefer to see you write your tests this way, even if it means a few extra levels of indentation:

```ruby
before do
@okay_file = %{
class Whatever < Set
def okaything(here)
@here = here
end
end

module WithContent
def sumthin
class_eval('1 + 1')
end
end
}
end
```

Personally, except for in pretty rare circumstances, I stopped using heredocs when I stopped using perl, because I find Ruby's `%{ ... }` syntax to be much less noisy. That said, if I were to use heredocs here and wasn't worried about extra whitespace, I'd use `<<-CODE` instead of `<