Bug #10403
closed`puts` documentation fix
Description
Patch attached. It's a minor documentation fix after something confused me in the docs. The previous docs seem to imply that puts may use something other than a newline as a record separator, and I had to dive into the code to learn that actually that isn't true.
Sorry if I've gotten anything wrong in either my change or the process by which I've submitted it (I was following the instructions at http://blog.steveklabnik.com/posts/2011-05-10-contributing-to-ruby-s-documentation). I'm a total Ruby noob and fairly C-illiterate too, so it's possible I've been a moron in some way.
Cheers :)
Files
        
           Updated by stomar (Marcus Stollsteimer) over 8 years ago
          Updated by stomar (Marcus Stollsteimer) over 8 years ago
          
          
        
        
      
      puts (rb_io_puts) uses rb_default_rs ("\n"), which isn't supposed to be customizable from within Ruby code, right? (Different from $\ = rb_output_rs.)
So IMO this is a good improvement and I'll apply the patch.
        
           Updated by stomar (Marcus Stollsteimer) over 8 years ago
          Updated by stomar (Marcus Stollsteimer) over 8 years ago
          
          
        
        
      
      - Status changed from Open to Closed
        
           Updated by naruse (Yui NARUSE) over 8 years ago
          Updated by naruse (Yui NARUSE) over 8 years ago
          
          
        
        
      
      - Tracker changed from Misc to Bug
- Backport set to 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
        
           Updated by naruse (Yui NARUSE) over 8 years ago
          Updated by naruse (Yui NARUSE) over 8 years ago
          
          
        
        
      
      - Backport changed from 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN to 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: DONE
ruby_2_4 r57945 merged revision(s) 57767,57943.
        
           Updated by nagachika (Tomoyuki Chikanaga) over 8 years ago
          Updated by nagachika (Tomoyuki Chikanaga) over 8 years ago
          
          
        
        
      
      - Backport changed from 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: DONE to 2.2: REQUIRED, 2.3: REQUIRED, 2.4: DONE
        
           Updated by nagachika (Tomoyuki Chikanaga) over 8 years ago
          Updated by nagachika (Tomoyuki Chikanaga) over 8 years ago
          
          
        
        
      
      - Backport changed from 2.2: REQUIRED, 2.3: REQUIRED, 2.4: DONE to 2.2: REQUIRED, 2.3: DONE, 2.4: DONE
ruby_2_3 r58025 merged revision(s) 57767,57944.
        
           Updated by usa (Usaku NAKAMURA) over 8 years ago
          Updated by usa (Usaku NAKAMURA) over 8 years ago
          
          
        
        
      
      - Backport changed from 2.2: REQUIRED, 2.3: DONE, 2.4: DONE to 2.2: DONE, 2.3: DONE, 2.4: DONE
ruby_2_2 r58106 merged revision(s) 57767,57943.