From edb98f8b910b00be16868b21116924cffad785b9 Mon Sep 17 00:00:00 2001 From: ktsj Date: Sun, 19 May 2013 03:10:21 +0000 Subject: fix typos. Patch by k_takata. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/prettyprint.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/prettyprint.rb') diff --git a/lib/prettyprint.rb b/lib/prettyprint.rb index eb498cc70a..5b1da330dd 100644 --- a/lib/prettyprint.rb +++ b/lib/prettyprint.rb @@ -320,7 +320,7 @@ class PrettyPrint # Creates a new text object. # - # This contructor takes no arguments. + # This constructor takes no arguments. # # The workflow is to append a PrettyPrint::Text object to the buffer, and # being able to call the buffer.last() to reference it. @@ -359,7 +359,7 @@ class PrettyPrint # Create a new Breakable object. # # Arguments: - # * +sep+ String of the seperator + # * +sep+ String of the separator # * +width+ Fixnum width of the +sep+ # * +q+ parent PrettyPrint object, to base from def initialize(sep, width, q) @@ -371,7 +371,7 @@ class PrettyPrint @group.breakables.push self end - # Holds the seperator String + # Holds the separator String # # The +sep+ argument from ::new attr_reader :obj @@ -525,14 +525,14 @@ class PrettyPrint @first = [true] end - # Add +obj+ to the text to be outputed. + # Add +obj+ to the text to be output. # # +width+ argument is here for compatibility. It is a noop argument. def text(obj, width=nil) @output << obj end - # Appends +sep+ to the text to be outputed. By default +sep+ is ' ' + # Appends +sep+ to the text to be output. By default +sep+ is ' ' # # +width+ argument is here for compatibility. It is a noop argument. def breakable(sep=' ', width=nil) -- cgit v1.2.3