avdi / naught

A toolkit for building Null Object classes in Ruby
MIT License
1.05k stars 53 forks source link

Change the syntax of the first ruby code example #38

Closed kiela closed 11 years ago

kiela commented 11 years ago

Not very important but the method which is not very sure of itself produces syntax error:

test.rb:3: syntax error, unexpected tSTRING_BEG, expecting keyword_end
    logger && logger.info "Reversing the flux phase capacitance!"
                           ^
test.rb:4: syntax error, unexpected tSTRING_BEG, expecting keyword_end
    logger && logger.info "Bounding a tachyon particle b..."
                           ^
test.rb:5: syntax error, unexpected tSTRING_BEG, expecting keyword_end
    logger && logger.warn "Warning, bogon levels are rising!"
coveralls commented 11 years ago

Coverage Status

Coverage remained the same when pulling e2bf81b50b1cc2bda10a5140171565734b31e3e0 on kiela:master into 5641a7c71d57361443cdaae0b0ee6ccdaf9b6c25 on avdi:master.

avdi commented 11 years ago

Thanks!