PageRenderTime 17ms CodeModel.GetById 10ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/test/boolean.rb

http://github.com/feyeleanor/RubyGoLightly
Ruby | 14 lines | 5 code | 4 blank | 5 comment | 5 complexity | 8c7618e9ed067fe6a6d3b8917401dafa MD5 | raw file
 1puts true && 1
 2# => 1
 3
 4puts true || 1
 5# => true
 6
 7puts false && 1
 8# => false
 9
10puts false || 1
11# => 1
12
13puts nil && 1
14# =>