summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTanaka Akira <akr@fsij.org>2020-04-11 02:09:18 +0900
committerTanaka Akira <akr@fsij.org>2020-04-11 02:09:18 +0900
commit6abd08c0b451b9ef9c8bcd99e58ebc7097ac9547 (patch)
treed8f5810a5cd29aa618d72b9b55aca297b882671c
parent108d392efd6166216b67250e5246d6cd3a90c50c (diff)
Replace Fixnum by Integer in a document.
-rw-r--r--lib/prettyprint.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/prettyprint.rb b/lib/prettyprint.rb
index 2a3ca90dc1..1e9347a982 100644
--- a/lib/prettyprint.rb
+++ b/lib/prettyprint.rb
@@ -102,7 +102,7 @@ class PrettyPrint
# The maximum width of a line, before it is separated in to a newline
#
- # This defaults to 79, and should be a Fixnum
+ # This defaults to 79, and should be a Integer
attr_reader :maxwidth
# The value that is appended to +output+ to add a new line.
@@ -110,7 +110,7 @@ class PrettyPrint
# This defaults to "\n", and should be String
attr_reader :newline
- # A lambda or Proc, that takes one argument, of a Fixnum, and returns
+ # A lambda or Proc, that takes one argument, of a Integer, and returns
# the corresponding number of spaces.
#
# By default this is:
@@ -340,7 +340,7 @@ class PrettyPrint
#
# Arguments:
# * +sep+ String of the separator
- # * +width+ Fixnum width of the +sep+
+ # * +width+ Integer width of the +sep+
# * +q+ parent PrettyPrint object, to base from
def initialize(sep, width, q)
@obj = sep