ruby-changes:45456
From: kazu <ko1@a...>
Date: Sat, 4 Feb 2017 15:49:10 +0900 (JST)
Subject: [ruby-changes:45456] kazu:r57529 (trunk): sample/pty/script.rb: Specify frozen_string_literal: true.
kazu 2017-02-04 15:49:06 +0900 (Sat, 04 Feb 2017) New Revision: 57529 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57529 Log: sample/pty/script.rb: Specify frozen_string_literal: true. Modified files: trunk/sample/pty/script.rb Index: sample/pty/script.rb =================================================================== --- sample/pty/script.rb (revision 57528) +++ sample/pty/script.rb (revision 57529) @@ -1,3 +1,4 @@ https://github.com/ruby/ruby/blob/trunk/sample/pty/script.rb#L1 +# frozen_string_literal: true require 'pty' if ARGV.size == 0 then @@ -34,4 +35,3 @@ PTY.spawn("/bin/csh") do |r_pty,w_pty,pi https://github.com/ruby/ruby/blob/trunk/sample/pty/script.rb#L35 end system "stty echo -raw lnext ^v" - -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/