summaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-04 06:49:06 (GMT)
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-04 06:49:06 (GMT)
commitaf2009a58ff668fd2b5a0a3c854ed6dc9d457579 (patch)
tree153a020683148e194b37514f6f62cacc17cea8b5 /sample
parent2cc0461bfa6352b485a25cfbfad65ce538dd9609 (diff)
sample/pty/script.rb: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample')
-rw-r--r--sample/pty/script.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/pty/script.rb b/sample/pty/script.rb
index 903a6f7..c6659a4 100644
--- a/sample/pty/script.rb
+++ b/sample/pty/script.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: true
require 'pty'
if ARGV.size == 0 then
@@ -34,4 +35,3 @@ PTY.spawn("/bin/csh") do |r_pty,w_pty,pid|
end
system "stty echo -raw lnext ^v"
-