diff options
author | Nobuyoshi Nakada <[email protected]> | 2024-11-19 21:23:15 +0900 |
---|---|---|
committer | git <[email protected]> | 2024-11-19 12:34:47 +0000 |
commit | 492b379b52a8c35c53038cde35c506cde2776834 () | |
tree | 9403bee270cc6670a999f52501148a569fb3e5e9 /lib/pp.rb | |
parent | aea38ef88738f250c029e8f31eab937280cc90d8 (diff) |
[ruby/pp] [DOC] Add documents
https://.com/ruby/pp/commit/dbf177d0fc
-rw-r--r-- | lib/pp.rb | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -63,6 +63,7 @@ require 'prettyprint' class PP < PrettyPrint VERSION = "0.6.1" # Returns the usable width for +out+. @@ -138,6 +139,7 @@ class PP < PrettyPrint end end module PPMethods # Yields to a block @@ -619,7 +621,7 @@ class MatchData # :nodoc: end if defined?(RubyVM::AbstractSyntaxTree) - class RubyVM::AbstractSyntaxTree::Node def pretty_print_children(q, names = []) children.zip(names) do |c, n| if n |