• X
    let's warn with heredocs · b3bfa361
    Xavier Noria 提交于
    The current style for warning messages without newlines uses
    concatenation of string literals with manual trailing spaces
    where needed.
    
    Heredocs have better readability, and with `squish` we can still
    produce a single line.
    
    This is a similar use case to the one that motivated defining
    `strip_heredoc`, heredocs are super clean.
    b3bfa361
core.rb 18.9 KB