From 6abd08c0b451b9ef9c8bcd99e58ebc7097ac9547 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Sat, 11 Apr 2020 02:09:18 +0900 Subject: [PATCH] Replace Fixnum by Integer in a document. --- lib/prettyprint.rb | 6 +++--- 1 file 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