ruby-changes:28783
From: nobu <ko1@a...>
Date: Mon, 20 May 2013 03:21:15 +0900 (JST)
Subject: [ruby-changes:28783] nobu:r40835 (trunk): * remove trailing spaces.
nobu 2013-05-20 03:21:05 +0900 (Mon, 20 May 2013) New Revision: 40835 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40835 Log: * remove trailing spaces. Modified files: trunk/lib/pp.rb Index: lib/pp.rb =================================================================== --- lib/pp.rb (revision 40834) +++ lib/pp.rb (revision 40835) @@ -302,21 +302,21 @@ class PP < PrettyPrint https://github.com/ruby/ruby/blob/trunk/lib/pp.rb#L302 # Allows you to implement pretty print in your own class, for example: # require 'pp' - # + # # class Cat # include PP::ObjectMixin - # + # # attr_accessor :name, :age, :color - # + # # def initialize name # @name = name # end - # + # # def pretty_print q # q.pp_object self # end # alias inspect pretty_print_inspect - # + # # end # # In order to use this class, try the following: -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/