From e6d09a6aa8fff5bbfb2529273e3d3fac75969440 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 10 Nov 2025 18:40:00 +0900 Subject: [PATCH] [DOC] Missing documents --- .document | 3 +++ lib/open3/jruby_windows.rb | 12 ++++++------ lib/open3/version.rb | 1 + 3 files changed, 10 insertions(+), 6 deletions(-) create mode 100644 .document diff --git a/.document b/.document new file mode 100644 index 0000000..5035202 --- /dev/null +++ b/.document @@ -0,0 +1,3 @@ +LICENSE.txt +README.md +lib/ diff --git a/lib/open3/jruby_windows.rb b/lib/open3/jruby_windows.rb index 064c38b..f6f303d 100644 --- a/lib/open3/jruby_windows.rb +++ b/lib/open3/jruby_windows.rb @@ -20,15 +20,15 @@ def popen3(*cmd, &block) end module_function :popen3 - IO_3 = proc do |process| + IO_3 = proc do |process| # :nodoc: [process.getOutputStream.to_io, process.getInputStream.to_io, process.getErrorStream.to_io] end - BUILD_2 = proc do |builder| + BUILD_2 = proc do |builder| # :nodoc: builder.redirectError(ProcessBuilder::Redirect::INHERIT) end - IO_2 = proc do |process| + IO_2 = proc do |process| # :nodoc: [process.getOutputStream.to_io, process.getInputStream.to_io] end @@ -42,7 +42,7 @@ def popen2(*cmd, &block) end module_function :popen2 - BUILD_2E = proc do |builder| + BUILD_2E = proc do |builder| # :nodoc: builder.redirectErrorStream(true) end @@ -56,7 +56,7 @@ def popen2e(*cmd, &block) end module_function :popen2e - def processbuilder_run(cmd, opts, build: nil, io:) + def processbuilder_run(cmd, opts, build: nil, io:) # :nodoc: opts.each do |k, v| if Integer === k if IO == v || !(String === v || v.respond_to?(:to_path)) @@ -113,7 +113,7 @@ class << self private :processbuilder_run end - class DetachThread < Thread + class DetachThread < Thread # :nodoc: attr_reader :pid def initialize(pid) diff --git a/lib/open3/version.rb b/lib/open3/version.rb index bfcec44..322dd71 100644 --- a/lib/open3/version.rb +++ b/lib/open3/version.rb @@ -1,3 +1,4 @@ module Open3 + # The version string VERSION = "0.2.1" end