1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Replace Fixnum by Integer in a document.

This commit is contained in:
Tanaka Akira 2020-04-11 02:09:18 +09:00
parent 108d392efd
commit 6abd08c0b4

View file

@ -102,7 +102,7 @@ class PrettyPrint
# The maximum width of a line, before it is separated in to a newline # 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 attr_reader :maxwidth
# The value that is appended to +output+ to add a new line. # 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 # This defaults to "\n", and should be String
attr_reader :newline 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. # the corresponding number of spaces.
# #
# By default this is: # By default this is:
@ -340,7 +340,7 @@ class PrettyPrint
# #
# Arguments: # Arguments:
# * +sep+ String of the separator # * +sep+ String of the separator
# * +width+ Fixnum width of the +sep+ # * +width+ Integer width of the +sep+
# * +q+ parent PrettyPrint object, to base from # * +q+ parent PrettyPrint object, to base from
def initialize(sep, width, q) def initialize(sep, width, q)
@obj = sep @obj = sep