ruby-changes:60737
From: Tanaka <ko1@a...>
Date: Sat, 11 Apr 2020 02:09:47 +0900 (JST)
Subject: [ruby-changes:60737] 6abd08c0b4 (master): Replace Fixnum by Integer in a document.
https://git.ruby-lang.org/ruby.git/commit/?id=6abd08c0b4 From 6abd08c0b451b9ef9c8bcd99e58ebc7097ac9547 Mon Sep 17 00:00:00 2001 From: Tanaka Akira <akr@f...> Date: Sat, 11 Apr 2020 02:09:18 +0900 Subject: Replace Fixnum by Integer in a document. diff --git a/lib/prettyprint.rb b/lib/prettyprint.rb index 2a3ca90..1e9347a 100644 --- a/lib/prettyprint.rb +++ b/lib/prettyprint.rb @@ -102,7 +102,7 @@ class PrettyPrint https://github.com/ruby/ruby/blob/trunk/lib/prettyprint.rb#L102 # 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 https://github.com/ruby/ruby/blob/trunk/lib/prettyprint.rb#L110 # 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 https://github.com/ruby/ruby/blob/trunk/lib/prettyprint.rb#L340 # # 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/