• X
    Revert "Small edit to the if statement simplification for blank? on the Object... · ef273847
    Xavier Noria 提交于
    Revert "Small edit to the if statement simplification for blank? on the Object class. An Object doesn't need to be nil and empty to be blank? just one or the other."
    
    Reason: the original code is correct, see
    
        !nil && !empty -> !(nil || empty) -> !blank
    
    That said, this example has too many negations
    for my linking. Think should be revised to be
    more positive and straightforward to read.
    
    This reverts commit a4b6e3d9.
    ef273847
blank.rb 2.1 KB