From: "nathanst (Nathan Stratton Treadway)" Date: 2012-06-07T12:41:20+09:00 Subject: [ruby-core:45459] [ruby-trunk - Bug #6553][Open] confusing use of "p " in String#start_with? documentation Issue #6553 has been reported by nathanst (Nathan Stratton Treadway). ---------------------------------------- Bug #6553: confusing use of "p " in String#start_with? documentation https://bugs.ruby-lang.org/issues/6553 Author: nathanst (Nathan Stratton Treadway) Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: 1.9.3 The three code samples given for the starts_with?() method (for the String class) all start with "p ". This is the only code sample in that page that uses that idiom, and the examples show the values returned by the expressions using the "#=>" syntax anyway, so I'm wondering if there is any reason not to remove those "p " calls? -- http://bugs.ruby-lang.org/