diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-16 05:31:54 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-16 05:31:54 +0000 |
commit | c4fdfabcc8ea3f6186d1560f7756211fce125be3 (patch) | |
tree | 52953802cfeae93908e52c59596365a3e946118b | |
parent | 183c1a0fa1c9599f613ea8f4c54ed5229354714f (diff) |
handle ext/ as r53141
g -L frozen_string_literal ext/**/*.rb|xargs ruby -Ka -e'ARGV.each{|fn|puts
fn;open(fn,"r+"){|f|s=f.read.sub(/\A(#!.*\n)?(#.*coding.*\n)?/,"\\&#
frozen_string_literal: false\n");f.rewind;f.write s}}'
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
854 files changed, 854 insertions, 0 deletions
diff --git a/ext/-test-/array/resize/extconf.rb b/ext/-test-/array/resize/extconf.rb index 6500a87..bc827e1 100644 --- a/ext/-test-/array/resize/extconf.rb +++ b/ext/-test-/array/resize/extconf.rb @@ -1 +1,2 @@ +# frozen_string_literal: false create_makefile("-test-/array/resize") diff --git a/ext/-test-/bignum/extconf.rb b/ext/-test-/bignum/extconf.rb index e8c1feb..34f503c 100644 --- a/ext/-test-/bignum/extconf.rb +++ b/ext/-test-/bignum/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false $INCFLAGS << " -I$(topdir) -I$(top_srcdir)" $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")] inits = $srcs.map {|s| File.basename(s, ".*")} diff --git a/ext/-test-/bug-3571/extconf.rb b/ext/-test-/bug-3571/extconf.rb index 6390fce..10b3bb3 100644 --- a/ext/-test-/bug-3571/extconf.rb +++ b/ext/-test-/bug-3571/extconf.rb @@ -1 +1,2 @@ +# frozen_string_literal: false create_makefile("-test-/bug-3571/bug") diff --git a/ext/-test-/bug-5832/extconf.rb b/ext/-test-/bug-5832/extconf.rb index 55a4b7d..948e779 100644 --- a/ext/-test-/bug-5832/extconf.rb +++ b/ext/-test-/bug-5832/extconf.rb @@ -1 +1,2 @@ +# frozen_string_literal: false create_makefile("-test-/bug-5832/bug") diff --git a/ext/-test-/bug_reporter/extconf.rb b/ext/-test-/bug_reporter/extconf.rb index 0fccd81..fb2ed40 100644 --- a/ext/-test-/bug_reporter/extconf.rb +++ b/ext/-test-/bug_reporter/extconf.rb @@ -1 +1,2 @@ +# frozen_string_literal: false create_makefile("-test-/bug_reporter/bug_reporter") diff --git a/ext/-test-/class/extconf.rb b/ext/-test-/class/extconf.rb index a07d660..1c7837d 100644 --- a/ext/-test-/class/extconf.rb +++ b/ext/-test-/class/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false $INCFLAGS << " -I$(topdir) -I$(top_srcdir)" $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")] inits = $srcs.map {|s| File.basename(s, ".*")} diff --git a/ext/-test-/debug/extconf.rb b/ext/-test-/debug/extconf.rb index 8f7922e..0f34383 100644 --- a/ext/-test-/debug/extconf.rb +++ b/ext/-test-/debug/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")] inits = $srcs.map {|s| File.basename(s, ".*")} inits.delete("init") diff --git a/ext/-test-/dln/empty/extconf.rb b/ext/-test-/dln/empty/extconf.rb index 6110887..20310b6 100644 --- a/ext/-test-/dln/empty/extconf.rb +++ b/ext/-test-/dln/empty/extconf.rb @@ -1 +1,2 @@ +# frozen_string_literal: false create_makefile("-test-/dln/empty") diff --git a/ext/-test-/exception/extconf.rb b/ext/-test-/exception/extconf.rb index 0faf6d5..55bbb1f 100644 --- a/ext/-test-/exception/extconf.rb +++ b/ext/-test-/exception/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")] inits = $srcs.map {|s| File.basename(s, ".*")} inits.delete("init") diff --git a/ext/-test-/fatal/extconf.rb b/ext/-test-/fatal/extconf.rb index e0cfeb2..d5849c0 100644 --- a/ext/-test-/fatal/extconf.rb +++ b/ext/-test-/fatal/extconf.rb @@ -1 +1,2 @@ +# frozen_string_literal: false create_makefile("-test-/fatal/rb_fatal") diff --git a/ext/-test-/file/extconf.rb b/ext/-test-/file/extconf.rb index 87a2f4a..c4cfdad 100644 --- a/ext/-test-/file/extconf.rb +++ b/ext/-test-/file/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false $INCFLAGS << " -I$(topdir) -I$(top_srcdir)" headers = %w[sys/param.h sys/mount.h sys/vfs.h].select {|h| have_header(h)} diff --git a/ext/-test-/float/extconf.rb b/ext/-test-/float/extconf.rb index 0a9a299..15709a1 100644 --- a/ext/-test-/float/extconf.rb +++ b/ext/-test-/float/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false $INCFLAGS << " -I$(topdir) -I$(top_srcdir)" $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")] inits = $srcs.map {|s| File.basename(s, ".*")} diff --git a/ext/-test-/funcall/extconf.rb b/ext/-test-/funcall/extconf.rb index 8a9179a..35c3078 100644 --- a/ext/-test-/funcall/extconf.rb +++ b/ext/-test-/funcall/extconf.rb @@ -1,2 +1,3 @@ +# frozen_string_literal: false require 'mkmf' create_makefile("-test-/funcall/funcall") diff --git a/ext/-test-/gvl/call_without_gvl/extconf.rb b/ext/-test-/gvl/call_without_gvl/extconf.rb index 601944c..56181b6 100644 --- a/ext/-test-/gvl/call_without_gvl/extconf.rb +++ b/ext/-test-/gvl/call_without_gvl/extconf.rb @@ -1 +1,2 @@ +# frozen_string_literal: false create_makefile("-test-/gvl/call_without_gvl") diff --git a/ext/-test-/hash/extconf.rb b/ext/-test-/hash/extconf.rb index 9d4ef4f..c823cb9 100644 --- a/ext/-test-/hash/extconf.rb +++ b/ext/-test-/hash/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false $INCFLAGS << " -I$(topdir) -I$(top_srcdir)" $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")] inits = $srcs.map {|s| File.basename(s, ".*")} diff --git a/ext/-test-/iseq_load/extconf.rb b/ext/-test-/iseq_load/extconf.rb index 860f30b..c5bd6c0 100644 --- a/ext/-test-/iseq_load/extconf.rb +++ b/ext/-test-/iseq_load/extconf.rb @@ -1 +1,2 @@ +# frozen_string_literal: false create_makefile("-test-/iseq_load/iseq_load") diff --git a/ext/-test-/iter/extconf.rb b/ext/-test-/iter/extconf.rb index 0ba9969..a0f03e2 100644 --- a/ext/-test-/iter/extconf.rb +++ b/ext/-test-/iter/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false $INCFLAGS << " -I$(topdir) -I$(top_srcdir)" $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")] inits = $srcs.map {|s| File.basename(s, ".*")} diff --git a/ext/-test-/load/dot.dot/extconf.rb b/ext/-test-/load/dot.dot/extconf.rb index 6287db6..b5292c7 100644 --- a/ext/-test-/load/dot.dot/extconf.rb +++ b/ext/-test-/load/dot.dot/extconf.rb @@ -1 +1,2 @@ +# frozen_string_literal: false create_makefile("-test-/load/dot.dot/dot.dot") diff --git a/ext/-test-/marshal/compat/extconf.rb b/ext/-test-/marshal/compat/extconf.rb index bb11ebf..9bf44b4 100644 --- a/ext/-test-/marshal/compat/extconf.rb +++ b/ext/-test-/marshal/compat/extconf.rb @@ -1 +1,2 @@ +# frozen_string_literal: false create_makefile("-test-/marshal/compat") diff --git a/ext/-test-/marshal/internal_ivar/extconf.rb b/ext/-test-/marshal/internal_ivar/extconf.rb index 9b905d9..cb3f825 100644 --- a/ext/-test-/marshal/internal_ivar/extconf.rb +++ b/ext/-test-/marshal/internal_ivar/extconf.rb @@ -1 +1,2 @@ +# frozen_string_literal: false create_makefile("-test-/marshal/internal_ivar") diff --git a/ext/-test-/marshal/usr/extconf.rb b/ext/-test-/marshal/usr/extconf.rb index c662b23..b7886b9 100644 --- a/ext/-test-/marshal/usr/extconf.rb +++ b/ext/-test-/marshal/usr/extconf.rb @@ -1 +1,2 @@ +# frozen_string_literal: false create_makefile("-test-/marshal/usr") diff --git a/ext/-test-/method/extconf.rb b/ext/-test-/method/extconf.rb index 658b7af..3a52c1a 100644 --- a/ext/-test-/method/extconf.rb +++ b/ext/-test-/method/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")] inits = $srcs.map {|s| File.basename(s, ".*")} inits.delete("init") diff --git a/ext/-test-/notimplement/extconf.rb b/ext/-test-/notimplement/extconf.rb index a2feb77..54403cd 100644 --- a/ext/-test-/notimplement/extconf.rb +++ b/ext/-test-/notimplement/extconf.rb @@ -1 +1,2 @@ +# frozen_string_literal: false create_makefile("-test-/notimplement") diff --git a/ext/-test-/num2int/extconf.rb b/ext/-test-/num2int/extconf.rb index 2bc820e..c585462 100644 --- a/ext/-test-/num2int/extconf.rb +++ b/ext/-test-/num2int/extconf.rb @@ -1 +1,2 @@ +# frozen_string_literal: false create_makefile("-test-/num2int/num2int") diff --git a/ext/-test-/path_to_class/extconf.rb b/ext/-test-/path_to_class/extconf.rb index e1072b1..8f05248 100644 --- a/ext/-test-/path_to_class/extconf.rb +++ b/ext/-test-/path_to_class/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")] inits = $srcs.map {|s| File.basename(s, ".*")} inits.delete("init") diff --git a/ext/-test-/popen_deadlock/extconf.rb b/ext/-test-/popen_deadlock/extconf.rb index f993ff7..24a7d79 100644 --- a/ext/-test-/popen_deadlock/extconf.rb +++ b/ext/-test-/popen_deadlock/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false case RUBY_PLATFORM when /solaris/i, /linux/i create_makefile("-test-/popen_deadlock/infinite_loop_dlsym") diff --git a/ext/-test-/postponed_job/extconf.rb b/ext/-test-/postponed_job/extconf.rb index aa29b59..58fbd3b 100644 --- a/ext/-test-/postponed_job/extconf.rb +++ b/ext/-test-/postponed_job/extconf.rb @@ -1 +1,2 @@ +# frozen_string_literal: false create_makefile('-test-/postponed_job') diff --git a/ext/-test-/printf/extconf.rb b/ext/-test-/printf/extconf.rb index 7b96da0..fb8fa8d 100644 --- a/ext/-test-/printf/extconf.rb +++ b/ext/-test-/printf/extconf.rb @@ -1 +1,2 @@ +# frozen_string_literal: false create_makefile("-test-/printf") diff --git a/ext/-test-/proc/extconf.rb b/ext/-test-/proc/extconf.rb index 40741d0..9f87575 100644 --- a/ext/-test-/proc/extconf.rb +++ b/ext/-test-/proc/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false $INCFLAGS << " -I$(topdir) -I$(top_srcdir)" $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")] inits = $srcs.map {|s| File.basename(s, ".*")} diff --git a/ext/-test-/rational/extconf.rb b/ext/-test-/rational/extconf.rb index bd658de..28c5d69 100644 --- a/ext/-test-/rational/extconf.rb +++ b/ext/-test-/rational/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false $INCFLAGS << " -I$(topdir) -I$(top_srcdir)" $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")] inits = $srcs.map {|s| File.basename(s, ".*")} diff --git a/ext/-test-/recursion/extconf.rb b/ext/-test-/recursion/extconf.rb index 92b2865..1382811 100644 --- a/ext/-test-/recursion/extconf.rb +++ b/ext/-test-/recursion/extconf.rb @@ -1,2 +1,3 @@ +# frozen_string_literal: false require 'mkmf' create_makefile("-test-/recursion") diff --git a/ext/-test-/st/foreach/extconf.rb b/ext/-test-/st/foreach/extconf.rb index 969f386..a734620 100644 --- a/ext/-test-/st/foreach/extconf.rb +++ b/ext/-test-/st/foreach/extconf.rb @@ -1 +1,2 @@ +# frozen_string_literal: false create_makefile("-test-/st/foreach") diff --git a/ext/-test-/st/numhash/extconf.rb b/ext/-test-/st/numhash/extconf.rb index 867fd75..27d28a0 100644 --- a/ext/-test-/st/numhash/extconf.rb +++ b/ext/-test-/st/numhash/extconf.rb @@ -1 +1,2 @@ +# frozen_string_literal: false create_makefile("-test-/st/numhash") diff --git a/ext/-test-/st/update/extconf.rb b/ext/-test-/st/update/extconf.rb index 96dbae4..5152b24 100644 --- a/ext/-test-/st/update/extconf.rb +++ b/ext/-test-/st/update/extconf.rb @@ -1 +1,2 @@ +# frozen_string_literal: false create_makefile("-test-/st/update") diff --git a/ext/-test-/string/extconf.rb b/ext/-test-/string/extconf.rb index 9981a4d..5e8b709 100644 --- a/ext/-test-/string/extconf.rb +++ b/ext/-test-/string/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false $INCFLAGS << " -I$(topdir) -I$(top_srcdir)" $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")] inits = $srcs.map {|s| File.basename(s, ".*")} diff --git a/ext/-test-/struct/extconf.rb b/ext/-test-/struct/extconf.rb index 0e4f955..3b01a19 100644 --- a/ext/-test-/struct/extconf.rb +++ b/ext/-test-/struct/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false $INCFLAGS << " -I$(topdir) -I$(top_srcdir)" $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")] inits = $srcs.map {|s| File.basename(s, ".*")} diff --git a/ext/-test-/symbol/extconf.rb b/ext/-test-/symbol/extconf.rb index fc00ec9..f62fd47 100644 --- a/ext/-test-/symbol/extconf.rb +++ b/ext/-test-/symbol/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")] inits = $srcs.map {|s| File.basename(s, ".*")} inits.delete("init") diff --git a/ext/-test-/time/extconf.rb b/ext/-test-/time/extconf.rb index b974199..c0b1934 100644 --- a/ext/-test-/time/extconf.rb +++ b/ext/-test-/time/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false $INCFLAGS << " -I$(topdir) -I$(top_srcdir)" $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")] inits = $srcs.map {|s| File.basename(s, ".*")} diff --git a/ext/-test-/tracepoint/extconf.rb b/ext/-test-/tracepoint/extconf.rb index c0c2399..2b7258d 100644 --- a/ext/-test-/tracepoint/extconf.rb +++ b/ext/-test-/tracepoint/extconf.rb @@ -1 +1,2 @@ +# frozen_string_literal: false create_makefile("-test-/tracepoint") diff --git a/ext/-test-/typeddata/extconf.rb b/ext/-test-/typeddata/extconf.rb index 02e3e41..84b92c7 100644 --- a/ext/-test-/typeddata/extconf.rb +++ b/ext/-test-/typeddata/extconf.rb @@ -1 +1,2 @@ +# frozen_string_literal: false create_makefile("-test-/typeddata/typeddata") diff --git a/ext/-test-/wait_for_single_fd/extconf.rb b/ext/-test-/wait_for_single_fd/extconf.rb index 1a28b23..edb1874 100644 --- a/ext/-test-/wait_for_single_fd/extconf.rb +++ b/ext/-test-/wait_for_single_fd/extconf.rb @@ -1 +1,2 @@ +# frozen_string_literal: false create_makefile("-test-/wait_for_single_fd/wait_for_single_fd") diff --git a/ext/-test-/win32/console/extconf.rb b/ext/-test-/win32/console/extconf.rb index 4de9fa7..fb9ef9d 100644 --- a/ext/-test-/win32/console/extconf.rb +++ b/ext/-test-/win32/console/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false if $mingw or $mswin $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")] inits = $srcs.map {|s| File.basename(s, ".*")} diff --git a/ext/-test-/win32/dln/extconf.rb b/ext/-test-/win32/dln/extconf.rb index edc02ac..55c2d16 100644 --- a/ext/-test-/win32/dln/extconf.rb +++ b/ext/-test-/win32/dln/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false if $mingw or $mswin dlntestlib = "dlntest.#{$LIBEXT}" $LOCAL_LIBS << " #{dlntestlib}" diff --git a/ext/-test-/win32/fd_setsize/extconf.rb b/ext/-test-/win32/fd_setsize/extconf.rb index ed40f8b..caa4b85 100644 --- a/ext/-test-/win32/fd_setsize/extconf.rb +++ b/ext/-test-/win32/fd_setsize/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false if $mingw or $mswin create_makefile("-test-/win32/fd_setsize") end diff --git a/ext/bigdecimal/extconf.rb b/ext/bigdecimal/extconf.rb index a3ec7b4..3799e68 100644 --- a/ext/bigdecimal/extconf.rb +++ b/ext/bigdecimal/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'mkmf' have_func("labs", "stdlib.h") diff --git a/ext/bigdecimal/lib/bigdecimal/jacobian.rb b/ext/bigdecimal/lib/bigdecimal/jacobian.rb index d56caab..9cad06c 100644 --- a/ext/bigdecimal/lib/bigdecimal/jacobian.rb +++ b/ext/bigdecimal/lib/bigdecimal/jacobian.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # require 'bigdecimal/jacobian' # diff --git a/ext/bigdecimal/lib/bigdecimal/ludcmp.rb b/ext/bigdecimal/lib/bigdecimal/ludcmp.rb index 6cbe29b..dd265e4 100644 --- a/ext/bigdecimal/lib/bigdecimal/ludcmp.rb +++ b/ext/bigdecimal/lib/bigdecimal/ludcmp.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'bigdecimal' # diff --git a/ext/bigdecimal/lib/bigdecimal/math.rb b/ext/bigdecimal/lib/bigdecimal/math.rb index 4a4fcc2..3ddde6a 100644 --- a/ext/bigdecimal/lib/bigdecimal/math.rb +++ b/ext/bigdecimal/lib/bigdecimal/math.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'bigdecimal' # diff --git a/ext/bigdecimal/lib/bigdecimal/newton.rb b/ext/bigdecimal/lib/bigdecimal/newton.rb index db1a5ad..85bacb7 100644 --- a/ext/bigdecimal/lib/bigdecimal/newton.rb +++ b/ext/bigdecimal/lib/bigdecimal/newton.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require "bigdecimal/ludcmp" require "bigdecimal/jacobian" diff --git a/ext/bigdecimal/lib/bigdecimal/util.rb b/ext/bigdecimal/lib/bigdecimal/util.rb index 82c82c8..0c4e486 100644 --- a/ext/bigdecimal/lib/bigdecimal/util.rb +++ b/ext/bigdecimal/lib/bigdecimal/util.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # BigDecimal extends the native Integer class to provide the #to_d method. # # When you require the BigDecimal library in your application, this methodwill diff --git a/ext/bigdecimal/sample/linear.rb b/ext/bigdecimal/sample/linear.rb index a33255f..3b23269 100644 --- a/ext/bigdecimal/sample/linear.rb +++ b/ext/bigdecimal/sample/linear.rb @@ -1,4 +1,5 @@ #!/usr/local/bin/ruby +# frozen_string_literal: false # # linear.rb diff --git a/ext/bigdecimal/sample/nlsolve.rb b/ext/bigdecimal/sample/nlsolve.rb index 7fa921c..b1dd08e 100644 --- a/ext/bigdecimal/sample/nlsolve.rb +++ b/ext/bigdecimal/sample/nlsolve.rb @@ -1,4 +1,5 @@ #!/usr/local/bin/ruby +# frozen_string_literal: false # # nlsolve.rb diff --git a/ext/bigdecimal/sample/pi.rb b/ext/bigdecimal/sample/pi.rb index 2f7dd27..ea96638 100644 --- a/ext/bigdecimal/sample/pi.rb +++ b/ext/bigdecimal/sample/pi.rb @@ -1,4 +1,5 @@ #!/usr/local/bin/ruby +# frozen_string_literal: false # # pi.rb diff --git a/ext/continuation/extconf.rb b/ext/continuation/extconf.rb index 17e2d05..6d54ec0 100644 --- a/ext/continuation/extconf.rb +++ b/ext/continuation/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'mkmf' create_makefile('continuation') diff --git a/ext/coverage/extconf.rb b/ext/coverage/extconf.rb index 769f85b..3a6f530 100644 --- a/ext/coverage/extconf.rb +++ b/ext/coverage/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'mkmf' $VPATH << '$(topdir)' << '$(top_srcdir)' $INCFLAGS << " -I$(topdir) -I$(top_srcdir)" diff --git a/ext/date/extconf.rb b/ext/date/extconf.rb index a8c6fca..e859695 100644 --- a/ext/date/extconf.rb +++ b/ext/date/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'mkmf' config_string("strict_warnflags") {|w| $warnflags += " #{w}"} create_makefile('date_core') diff --git a/ext/date/lib/date.rb b/ext/date/lib/date.rb index 4268661..48ce631 100644 --- a/ext/date/lib/date.rb +++ b/ext/date/lib/date.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # date.rb: Written by Tadayoshi Funaba 1998-2011 require 'date_core' diff --git a/ext/dbm/extconf.rb b/ext/dbm/extconf.rb index 2c8caa3..04f751d 100644 --- a/ext/dbm/extconf.rb +++ b/ext/dbm/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # configure option: # --with-dbm-type=COMMA-SEPARATED-NDBM-TYPES # diff --git a/ext/digest/bubblebabble/extconf.rb b/ext/digest/bubblebabble/extconf.rb index 1214add..21feed5 100644 --- a/ext/digest/bubblebabble/extconf.rb +++ b/ext/digest/bubblebabble/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'mkmf' $defs << "-DHAVE_CONFIG_H" diff --git a/ext/digest/digest_conf.rb b/ext/digest/digest_conf.rb index 6a4ef6f..4326528 100644 --- a/ext/digest/digest_conf.rb +++ b/ext/digest/digest_conf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false def digest_conf(name, hdr = name, funcs = nil, types = nil) unless with_config("bundled-#{name}") cc = with_config("common-digest") diff --git a/ext/digest/extconf.rb b/ext/digest/extconf.rb index a20ca8d..a8c6885 100644 --- a/ext/digest/extconf.rb +++ b/ext/digest/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # $RoughId: extconf.rb,v 1.6 2001/07/13 15:38:27 knu Exp $ # $Id$ diff --git a/ext/digest/lib/digest.rb b/ext/digest/lib/digest.rb index ef43c46..d6daf36 100644 --- a/ext/digest/lib/digest.rb +++ b/ext/digest/lib/digest.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'digest.so' module Digest diff --git a/ext/digest/md5/extconf.rb b/ext/digest/md5/extconf.rb index 05a990c..dead9a2 100644 --- a/ext/digest/md5/extconf.rb +++ b/ext/digest/md5/extconf.rb @@ -1,4 +1,5 @@ # -*- coding: us-ascii -*- +# frozen_string_literal: false # $RoughId: extconf.rb,v 1.3 2001/08/14 19:54:51 knu Exp $ # $Id$ diff --git a/ext/digest/rmd160/extconf.rb b/ext/digest/rmd160/extconf.rb index 15fd095..a02ba56 100644 --- a/ext/digest/rmd160/extconf.rb +++ b/ext/digest/rmd160/extconf.rb @@ -1,4 +1,5 @@ # -*- coding: us-ascii -*- +# frozen_string_literal: false # $RoughId: extconf.rb,v 1.3 2001/08/14 19:54:51 knu Exp $ # $Id$ diff --git a/ext/digest/sha1/extconf.rb b/ext/digest/sha1/extconf.rb index 03cbf66..0ff4158 100644 --- a/ext/digest/sha1/extconf.rb +++ b/ext/digest/sha1/extconf.rb @@ -1,4 +1,5 @@ # -*- coding: us-ascii -*- +# frozen_string_literal: false # $RoughId: extconf.rb,v 1.3 2001/08/14 19:54:51 knu Exp $ # $Id$ diff --git a/ext/digest/sha2/extconf.rb b/ext/digest/sha2/extconf.rb index fe51545..5c7f76c 100644 --- a/ext/digest/sha2/extconf.rb +++ b/ext/digest/sha2/extconf.rb @@ -1,4 +1,5 @@ # -*- coding: us-ascii -*- +# frozen_string_literal: false # $RoughId: extconf.rb,v 1.4 2001/08/14 19:54:51 knu Exp $ # $Id$ diff --git a/ext/digest/sha2/lib/sha2.rb b/ext/digest/sha2/lib/sha2.rb index 58d12e9..58ff9f5 100644 --- a/ext/digest/sha2/lib/sha2.rb +++ b/ext/digest/sha2/lib/sha2.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false #-- # sha2.rb - defines Digest::SHA2 class which wraps up the SHA256, # SHA384, and SHA512 classes. diff --git a/ext/etc/extconf.rb b/ext/etc/extconf.rb index c6b41a4..11bc945 100644 --- a/ext/etc/extconf.rb +++ b/ext/etc/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'mkmf' headers = [] diff --git a/ext/etc/mkconstants.rb b/ext/etc/mkconstants.rb index c9fddfd..0c4d17e 100644 --- a/ext/etc/mkconstants.rb +++ b/ext/etc/mkconstants.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'optparse' require 'erb' diff --git a/ext/extmk.rb b/ext/extmk.rb index bed1830..737e5bf 100755 --- a/ext/extmk.rb +++ b/ext/extmk.rb @@ -1,5 +1,6 @@ #! /usr/local/bin/ruby # -*- mode: ruby; coding: us-ascii -*- +# frozen_string_literal: false # :stopdoc: $extension = nil diff --git a/ext/fcntl/extconf.rb b/ext/fcntl/extconf.rb index 8b717d4..35371eb 100644 --- a/ext/fcntl/extconf.rb +++ b/ext/fcntl/extconf.rb @@ -1,2 +1,3 @@ +# frozen_string_literal: false require 'mkmf' create_makefile('fcntl') diff --git a/ext/fiber/extconf.rb b/ext/fiber/extconf.rb index 904ab94..7f11e0d 100644 --- a/ext/fiber/extconf.rb +++ b/ext/fiber/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'mkmf' create_makefile('fiber') diff --git a/ext/fiddle/extconf.rb b/ext/fiddle/extconf.rb index c264a33..0359355 100644 --- a/ext/fiddle/extconf.rb +++ b/ext/fiddle/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'mkmf' # :stopdoc: diff --git a/ext/fiddle/lib/fiddle.rb b/ext/fiddle/lib/fiddle.rb index ae6e299..5208eb9 100644 --- a/ext/fiddle/lib/fiddle.rb +++ b/ext/fiddle/lib/fiddle.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'fiddle.so' require 'fiddle/function' require 'fiddle/closure' diff --git a/ext/fiddle/lib/fiddle/closure.rb b/ext/fiddle/lib/fiddle/closure.rb index beb90ec..0b9adbb 100644 --- a/ext/fiddle/lib/fiddle/closure.rb +++ b/ext/fiddle/lib/fiddle/closure.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false module Fiddle class Closure diff --git a/ext/fiddle/lib/fiddle/cparser.rb b/ext/fiddle/lib/fiddle/cparser.rb index 4be82a6..6b9da9f 100644 --- a/ext/fiddle/lib/fiddle/cparser.rb +++ b/ext/fiddle/lib/fiddle/cparser.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false module Fiddle # A mixin that provides methods for parsing C struct and prototype signatures. # diff --git a/ext/fiddle/lib/fiddle/function.rb b/ext/fiddle/lib/fiddle/function.rb index ab7496e..fcd90df 100644 --- a/ext/fiddle/lib/fiddle/function.rb +++ b/ext/fiddle/lib/fiddle/function.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false module Fiddle class Function # The ABI of the Function. diff --git a/ext/fiddle/lib/fiddle/import.rb b/ext/fiddle/lib/fiddle/import.rb index 34f5d7f..7f959ed 100644 --- a/ext/fiddle/lib/fiddle/import.rb +++ b/ext/fiddle/lib/fiddle/import.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'fiddle' require 'fiddle/struct' require 'fiddle/cparser' diff --git a/ext/fiddle/lib/fiddle/pack.rb b/ext/fiddle/lib/fiddle/pack.rb index e4e9542..6301068 100644 --- a/ext/fiddle/lib/fiddle/pack.rb +++ b/ext/fiddle/lib/fiddle/pack.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'fiddle' module Fiddle diff --git a/ext/fiddle/lib/fiddle/struct.rb b/ext/fiddle/lib/fiddle/struct.rb index 695a4d2..233a987 100644 --- a/ext/fiddle/lib/fiddle/struct.rb +++ b/ext/fiddle/lib/fiddle/struct.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'fiddle' require 'fiddle/value' require 'fiddle/pack' diff --git a/ext/fiddle/lib/fiddle/types.rb b/ext/fiddle/lib/fiddle/types.rb index 02c1d25..8a72635 100644 --- a/ext/fiddle/lib/fiddle/types.rb +++ b/ext/fiddle/lib/fiddle/types.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false module Fiddle # Adds Windows type aliases to the including class for use with # Fiddle::Importer. diff --git a/ext/fiddle/lib/fiddle/value.rb b/ext/fiddle/lib/fiddle/value.rb index 8d71e47..ac318cf 100644 --- a/ext/fiddle/lib/fiddle/value.rb +++ b/ext/fiddle/lib/fiddle/value.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'fiddle' module Fiddle diff --git a/ext/fiddle/win32/libffi-config.rb b/ext/fiddle/win32/libffi-config.rb index ecd3b08..7a32a91 100755 --- a/ext/fiddle/win32/libffi-config.rb +++ b/ext/fiddle/win32/libffi-config.rb @@ -1,4 +1,5 @@ #!/usr/bin/ruby +# frozen_string_literal: false require 'fileutils' basedir = File.dirname(__FILE__) diff --git a/ext/gdbm/extconf.rb b/ext/gdbm/extconf.rb index 389bfb6..d1908ff 100644 --- a/ext/gdbm/extconf.rb +++ b/ext/gdbm/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'mkmf' dir_config("gdbm") diff --git a/ext/io/console/extconf.rb b/ext/io/console/extconf.rb index fa4aac8..a4dbd0f 100644 --- a/ext/io/console/extconf.rb +++ b/ext/io/console/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'mkmf' ok = true diff --git a/ext/io/console/lib/console/size.rb b/ext/io/console/lib/console/size.rb index 519bc3b..f17206d 100644 --- a/ext/io/console/lib/console/size.rb +++ b/ext/io/console/lib/console/size.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # fallback to console window size def IO.default_console_size [ diff --git a/ext/io/nonblock/extconf.rb b/ext/io/nonblock/extconf.rb index aecdc16..d813a01 100644 --- a/ext/io/nonblock/extconf.rb +++ b/ext/io/nonblock/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'mkmf' target = "io/nonblock" diff --git a/ext/io/wait/extconf.rb b/ext/io/wait/extconf.rb index eed3543..b5d36c3 100644 --- a/ext/io/wait/extconf.rb +++ b/ext/io/wait/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'mkmf' target = "io/wait" diff --git a/ext/json/extconf.rb b/ext/json/extconf.rb index 850798c..ad1ef9b 100644 --- a/ext/json/extconf.rb +++ b/ext/json/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'mkmf' create_makefile('json') diff --git a/ext/json/generator/extconf.rb b/ext/json/generator/extconf.rb index 8627c5f..fd5c4a7 100644 --- a/ext/json/generator/extconf.rb +++ b/ext/json/generator/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'mkmf' $defs << "-DJSON_GENERATOR" diff --git a/ext/json/lib/json.rb b/ext/json/lib/json.rb index 24aa385..61bb8fa 100644 --- a/ext/json/lib/json.rb +++ b/ext/json/lib/json.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'json/common' ## diff --git a/ext/json/lib/json/add/bigdecimal.rb b/ext/json/lib/json/add/bigdecimal.rb index 0ef69f1..a764686 100644 --- a/ext/json/lib/json/add/bigdecimal.rb +++ b/ext/json/lib/json/add/bigdecimal.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED require 'json' end diff --git a/ext/json/lib/json/add/complex.rb b/ext/json/lib/json/add/complex.rb index 3d653bb..65d388b 100644 --- a/ext/json/lib/json/add/complex.rb +++ b/ext/json/lib/json/add/complex.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED require 'json' end diff --git a/ext/json/lib/json/add/core.rb b/ext/json/lib/json/add/core.rb index 77d9dc0..93b2bff 100644 --- a/ext/json/lib/json/add/core.rb +++ b/ext/json/lib/json/add/core.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # This file requires the implementations of ruby core's custom objects for # serialisation/deserialisation. diff --git a/ext/json/lib/json/add/date.rb b/ext/json/lib/json/add/date.rb index 4288237..20f0e8d 100644 --- a/ext/json/lib/json/add/date.rb +++ b/ext/json/lib/json/add/date.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED require 'json' end diff --git a/ext/json/lib/json/add/date_time.rb b/ext/json/lib/json/add/date_time.rb index 5ea42ea..757d43c 100644 --- a/ext/json/lib/json/add/date_time.rb +++ b/ext/json/lib/json/add/date_time.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED require 'json' end diff --git a/ext/json/lib/json/add/exception.rb b/ext/json/lib/json/add/exception.rb index e6ad257..95379d9 100644 --- a/ext/json/lib/json/add/exception.rb +++ b/ext/json/lib/json/add/exception.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED require 'json' end diff --git a/ext/json/lib/json/add/ostruct.rb b/ext/json/lib/json/add/ostruct.rb index da81e10..2fa1e88 100644 --- a/ext/json/lib/json/add/ostruct.rb +++ b/ext/json/lib/json/add/ostruct.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED require 'json' end diff --git a/ext/json/lib/json/add/range.rb b/ext/json/lib/json/add/range.rb index e61e553..4dd7ccf 100644 --- a/ext/json/lib/json/add/range.rb +++ b/ext/json/lib/json/add/range.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED require 'json' end diff --git a/ext/json/lib/json/add/rational.rb b/ext/json/lib/json/add/rational.rb index ee39c20..e83a532 100644 --- a/ext/json/lib/json/add/rational.rb +++ b/ext/json/lib/json/add/rational.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED require 'json' end diff --git a/ext/json/lib/json/add/regexp.rb b/ext/json/lib/json/add/regexp.rb index 2fcbb6f..4bea64f 100644 --- a/ext/json/lib/json/add/regexp.rb +++ b/ext/json/lib/json/add/regexp.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED require 'json' end diff --git a/ext/json/lib/json/add/struct.rb b/ext/json/lib/json/add/struct.rb index 6847cde..c9afe70 100644 --- a/ext/json/lib/json/add/struct.rb +++ b/ext/json/lib/json/add/struct.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED require 'json' end diff --git a/ext/json/lib/json/add/symbol.rb b/ext/json/lib/json/add/symbol.rb index 03dc9a5..831e5c61 100644 --- a/ext/json/lib/json/add/symbol.rb +++ b/ext/json/lib/json/add/symbol.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED require 'json' end diff --git a/ext/json/lib/json/add/time.rb b/ext/json/lib/json/add/time.rb index d983467..18e57d7 100644 --- a/ext/json/lib/json/add/time.rb +++ b/ext/json/lib/json/add/time.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED require 'json' end diff --git a/ext/json/lib/json/common.rb b/ext/json/lib/json/common.rb index f44184e..020615f 100644 --- a/ext/json/lib/json/common.rb +++ b/ext/json/lib/json/common.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'json/version' require 'json/generic_object' diff --git a/ext/json/lib/json/ext.rb b/ext/json/lib/json/ext.rb index c5f8131..2486f08 100644 --- a/ext/json/lib/json/ext.rb +++ b/ext/json/lib/json/ext.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false if ENV['SIMPLECOV_COVERAGE'].to_i == 1 require 'simplecov' SimpleCov.start do diff --git a/ext/json/lib/json/generic_object.rb b/ext/json/lib/json/generic_object.rb index 3a14f0e..2241f6c 100644 --- a/ext/json/lib/json/generic_object.rb +++ b/ext/json/lib/json/generic_object.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'ostruct' module JSON diff --git a/ext/json/lib/json/version.rb b/ext/json/lib/json/version.rb index 5a4013d..b574833 100644 --- a/ext/json/lib/json/version.rb +++ b/ext/json/lib/json/version.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false module JSON # JSON version VERSION = '1.8.3' diff --git a/ext/json/parser/extconf.rb b/ext/json/parser/extconf.rb index 2addc53..f7360d4 100644 --- a/ext/json/parser/extconf.rb +++ b/ext/json/parser/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'mkmf' have_func("rb_enc_raise", "ruby.h") diff --git a/ext/mathn/complex/extconf.rb b/ext/mathn/complex/extconf.rb index d4d14ff..a3f45ac 100644 --- a/ext/mathn/complex/extconf.rb +++ b/ext/mathn/complex/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require "mkmf" create_makefile "mathn/complex" diff --git a/ext/mathn/rational/extconf.rb b/ext/mathn/rational/extconf.rb index ba76306..4e4cc5f 100644 --- a/ext/mathn/rational/extconf.rb +++ b/ext/mathn/rational/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require "mkmf" create_makefile "mathn/rational" diff --git a/ext/nkf/extconf.rb b/ext/nkf/extconf.rb index 710662f..f41f6b1 100644 --- a/ext/nkf/extconf.rb +++ b/ext/nkf/extconf.rb @@ -1,2 +1,3 @@ +# frozen_string_literal: false require 'mkmf' create_makefile('nkf') diff --git a/ext/nkf/lib/kconv.rb b/ext/nkf/lib/kconv.rb index f8c1ae8..f52b755 100644 --- a/ext/nkf/lib/kconv.rb +++ b/ext/nkf/lib/kconv.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # kconv.rb - Kanji Converter. # diff --git a/ext/objspace/extconf.rb b/ext/objspace/extconf.rb index 2b41543..adb8ef9 100644 --- a/ext/objspace/extconf.rb +++ b/ext/objspace/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false $INCFLAGS << " -I$(topdir) -I$(top_srcdir)" $VPATH << '$(topdir)' << '$(top_srcdir)' # for id.h. create_makefile('objspace') diff --git a/ext/openssl/deprecation.rb b/ext/openssl/deprecation.rb index 39ebfa0..d773536 100644 --- a/ext/openssl/deprecation.rb +++ b/ext/openssl/deprecation.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false module OpenSSL def self.deprecated_warning_flag unless flag = (@deprecated_warning_flag ||= nil) diff --git a/ext/openssl/extconf.rb b/ext/openssl/extconf.rb index 41dd9be..7bb6cd8 100644 --- a/ext/openssl/extconf.rb +++ b/ext/openssl/extconf.rb @@ -1,4 +1,5 @@ # -*- coding: us-ascii -*- +# frozen_string_literal: false =begin = Info 'OpenSSL for Ruby 2' project diff --git a/ext/openssl/lib/openssl.rb b/ext/openssl/lib/openssl.rb index 57f6f97..26d167a 100644 --- a/ext/openssl/lib/openssl.rb +++ b/ext/openssl/lib/openssl.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false =begin = Info 'OpenSSL for Ruby 2' project diff --git a/ext/openssl/lib/openssl/bn.rb b/ext/openssl/lib/openssl/bn.rb index 17148f9..6d6c96e 100644 --- a/ext/openssl/lib/openssl/bn.rb +++ b/ext/openssl/lib/openssl/bn.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false #-- # # = Ruby-space definitions that completes C-space funcs for BN diff --git a/ext/openssl/lib/openssl/buffering.rb b/ext/openssl/lib/openssl/buffering.rb index a97d9ea..d082199 100644 --- a/ext/openssl/lib/openssl/buffering.rb +++ b/ext/openssl/lib/openssl/buffering.rb @@ -1,4 +1,5 @@ # coding: binary +# frozen_string_literal: false #-- #= Info # 'OpenSSL for Ruby 2' project diff --git a/ext/openssl/lib/openssl/cipher.rb b/ext/openssl/lib/openssl/cipher.rb index c7f0aec..a69d5ac 100644 --- a/ext/openssl/lib/openssl/cipher.rb +++ b/ext/openssl/lib/openssl/cipher.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false #-- # = Ruby-space predefined Cipher subclasses # diff --git a/ext/openssl/lib/openssl/config.rb b/ext/openssl/lib/openssl/config.rb index e1f5dbe..8822545 100644 --- a/ext/openssl/lib/openssl/config.rb +++ b/ext/openssl/lib/openssl/config.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false =begin = Ruby-space definitions that completes C-space funcs for Config diff --git a/ext/openssl/lib/openssl/digest.rb b/ext/openssl/lib/openssl/digest.rb index 8bf8510..1240bf5 100644 --- a/ext/openssl/lib/openssl/digest.rb +++ b/ext/openssl/lib/openssl/digest.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false #-- # = Ruby-space predefined Digest subclasses # diff --git a/ext/openssl/lib/openssl/pkey.rb b/ext/openssl/lib/openssl/pkey.rb index 007934f..3f65ada 100644 --- a/ext/openssl/lib/openssl/pkey.rb +++ b/ext/openssl/lib/openssl/pkey.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false module OpenSSL module PKey if defined?(OpenSSL::PKey::DH) diff --git a/ext/openssl/lib/openssl/ssl.rb b/ext/openssl/lib/openssl/ssl.rb index d3ae155..41a09f1 100644 --- a/ext/openssl/lib/openssl/ssl.rb +++ b/ext/openssl/lib/openssl/ssl.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false =begin = Info 'OpenSSL for Ruby 2' project diff --git a/ext/openssl/lib/openssl/x509.rb b/ext/openssl/lib/openssl/x509.rb index e76c6b8..aef3456 100644 --- a/ext/openssl/lib/openssl/x509.rb +++ b/ext/openssl/lib/openssl/x509.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false #-- # = Ruby-space definitions that completes C-space funcs for X509 and subclasses # diff --git a/ext/pathname/extconf.rb b/ext/pathname/extconf.rb index 037f100..c9133bc 100644 --- a/ext/pathname/extconf.rb +++ b/ext/pathname/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'mkmf' have_struct_member("struct stat", "st_birthtimespec", "sys/stat.h") create_makefile('pathname') diff --git a/ext/psych/extconf.rb b/ext/psych/extconf.rb index 65e83a3..be33d35 100644 --- a/ext/psych/extconf.rb +++ b/ext/psych/extconf.rb @@ -1,4 +1,5 @@ # -*- coding: us-ascii -*- +# frozen_string_literal: false require 'mkmf' require 'fileutils' diff --git a/ext/psych/lib/psych.rb b/ext/psych/lib/psych.rb index 8ba6ef6..83b5dbb 100644 --- a/ext/psych/lib/psych.rb +++ b/ext/psych/lib/psych.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false case RUBY_ENGINE when 'jruby' require 'psych_jars' diff --git a/ext/psych/lib/psych/class_loader.rb b/ext/psych/lib/psych/class_loader.rb index 46c6b93..ba756f7 100644 --- a/ext/psych/lib/psych/class_loader.rb +++ b/ext/psych/lib/psych/class_loader.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'psych/omap' require 'psych/set' diff --git a/ext/psych/lib/psych/coder.rb b/ext/psych/lib/psych/coder.rb index 2b830d2..26005f5 100644 --- a/ext/psych/lib/psych/coder.rb +++ b/ext/psych/lib/psych/coder.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false module Psych ### # If an object defines +encode_with+, then an instance of Psych::Coder will diff --git a/ext/psych/lib/psych/core_ext.rb b/ext/psych/lib/psych/core_ext.rb index 9c8134d..1a98279 100644 --- a/ext/psych/lib/psych/core_ext.rb +++ b/ext/psych/lib/psych/core_ext.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false class Object def self.yaml_tag url Psych.add_tag(url, self) diff --git a/ext/psych/lib/psych/deprecated.rb b/ext/psych/lib/psych/deprecated.rb index 8c310b3..165d210 100644 --- a/ext/psych/lib/psych/deprecated.rb +++ b/ext/psych/lib/psych/deprecated.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'date' module Psych diff --git a/ext/psych/lib/psych/exception.rb b/ext/psych/lib/psych/exception.rb index ce9d2ca..83c3d7f 100644 --- a/ext/psych/lib/psych/exception.rb +++ b/ext/psych/lib/psych/exception.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false module Psych class Exception < RuntimeError end diff --git a/ext/psych/lib/psych/handler.rb b/ext/psych/lib/psych/handler.rb index c55afe7..1ab5f73 100644 --- a/ext/psych/lib/psych/handler.rb +++ b/ext/psych/lib/psych/handler.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false module Psych ### # Psych::Handler is an abstract base class that defines the events used diff --git a/ext/psych/lib/psych/handlers/document_stream.rb b/ext/psych/lib/psych/handlers/document_stream.rb index e429993..c43b39e 100644 --- a/ext/psych/lib/psych/handlers/document_stream.rb +++ b/ext/psych/lib/psych/handlers/document_stream.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'psych/tree_builder' module Psych diff --git a/ext/psych/lib/psych/handlers/recorder.rb b/ext/psych/lib/psych/handlers/recorder.rb index 4eae62e..341b81d 100644 --- a/ext/psych/lib/psych/handlers/recorder.rb +++ b/ext/psych/lib/psych/handlers/recorder.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'psych/handler' module Psych diff --git a/ext/psych/lib/psych/json/ruby_events.rb b/ext/psych/lib/psych/json/ruby_events.rb index 6b73249..478eb66 100644 --- a/ext/psych/lib/psych/json/ruby_events.rb +++ b/ext/psych/lib/psych/json/ruby_events.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false module Psych module JSON module RubyEvents # :nodoc: diff --git a/ext/psych/lib/psych/json/stream.rb b/ext/psych/lib/psych/json/stream.rb index fe2a6e9..83b7e13 100644 --- a/ext/psych/lib/psych/json/stream.rb +++ b/ext/psych/lib/psych/json/stream.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'psych/json/ruby_events' require 'psych/json/yaml_events' diff --git a/ext/psych/lib/psych/json/tree_builder.rb b/ext/psych/lib/psych/json/tree_builder.rb index b799c93f..2f94b8c 100644 --- a/ext/psych/lib/psych/json/tree_builder.rb +++ b/ext/psych/lib/psych/json/tree_builder.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'psych/json/yaml_events' module Psych diff --git a/ext/psych/lib/psych/json/yaml_events.rb b/ext/psych/lib/psych/json/yaml_events.rb index d054d9b..07f6473 100644 --- a/ext/psych/lib/psych/json/yaml_events.rb +++ b/ext/psych/lib/psych/json/yaml_events.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false module Psych module JSON module YAMLEvents # :nodoc: diff --git a/ext/psych/lib/psych/nodes.rb b/ext/psych/lib/psych/nodes.rb index f3b33fe..01573b5 100644 --- a/ext/psych/lib/psych/nodes.rb +++ b/ext/psych/lib/psych/nodes.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'psych/nodes/node' require 'psych/nodes/stream' require 'psych/nodes/document' diff --git a/ext/psych/lib/psych/nodes/alias.rb b/ext/psych/lib/psych/nodes/alias.rb index 5bd4df1..716a00d 100644 --- a/ext/psych/lib/psych/nodes/alias.rb +++ b/ext/psych/lib/psych/nodes/alias.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false module Psych module Nodes ### diff --git a/ext/psych/lib/psych/nodes/document.rb b/ext/psych/lib/psych/nodes/document.rb index 32014d6..7234fef 100644 --- a/ext/psych/lib/psych/nodes/document.rb +++ b/ext/psych/lib/psych/nodes/document.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false module Psych module Nodes ### diff --git a/ext/psych/lib/psych/nodes/mapping.rb b/ext/psych/lib/psych/nodes/mapping.rb index 5ba95ce..4c11df8 100644 --- a/ext/psych/lib/psych/nodes/mapping.rb +++ b/ext/psych/lib/psych/nodes/mapping.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false module Psych module Nodes ### diff --git a/ext/psych/lib/psych/nodes/node.rb b/ext/psych/lib/psych/nodes/node.rb index 83233a6..e3621dc 100644 --- a/ext/psych/lib/psych/nodes/node.rb +++ b/ext/psych/lib/psych/nodes/node.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'stringio' require 'psych/class_loader' require 'psych/scalar_scanner' diff --git a/ext/psych/lib/psych/nodes/scalar.rb b/ext/psych/lib/psych/nodes/scalar.rb index 1b1b25b..ee55705 100644 --- a/ext/psych/lib/psych/nodes/scalar.rb +++ b/ext/psych/lib/psych/nodes/scalar.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false module Psych module Nodes ### diff --git a/ext/psych/lib/psych/nodes/sequence.rb b/ext/psych/lib/psych/nodes/sequence.rb index 7e907fe..1096469 100644 --- a/ext/psych/lib/psych/nodes/sequence.rb +++ b/ext/psych/lib/psych/nodes/sequence.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false module Psych module Nodes ### diff --git a/ext/psych/lib/psych/nodes/stream.rb b/ext/psych/lib/psych/nodes/stream.rb index 7cf5e03..559b084 100644 --- a/ext/psych/lib/psych/nodes/stream.rb +++ b/ext/psych/lib/psych/nodes/stream.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false module Psych module Nodes ### diff --git a/ext/psych/lib/psych/omap.rb b/ext/psych/lib/psych/omap.rb index 6286270..233b945 100644 --- a/ext/psych/lib/psych/omap.rb +++ b/ext/psych/lib/psych/omap.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false module Psych class Omap < ::Hash end diff --git a/ext/psych/lib/psych/parser.rb b/ext/psych/lib/psych/parser.rb index 84085f1..242512f 100644 --- a/ext/psych/lib/psych/parser.rb +++ b/ext/psych/lib/psych/parser.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false module Psych ### # YAML event parser class. This class parses a YAML document and calls diff --git a/ext/psych/lib/psych/scalar_scanner.rb b/ext/psych/lib/psych/scalar_scanner.rb index 9300790..f519da1 100644 --- a/ext/psych/lib/psych/scalar_scanner.rb +++ b/ext/psych/lib/psych/scalar_scanner.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'strscan' module Psych diff --git a/ext/psych/lib/psych/set.rb b/ext/psych/lib/psych/set.rb index 6793a8e..f35be15 100644 --- a/ext/psych/lib/psych/set.rb +++ b/ext/psych/lib/psych/set.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false module Psych class Set < ::Hash end diff --git a/ext/psych/lib/psych/stream.rb b/ext/psych/lib/psych/stream.rb index 88c4c4c..2f63d7d 100644 --- a/ext/psych/lib/psych/stream.rb +++ b/ext/psych/lib/psych/stream.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false module Psych ### # Psych::Stream is a streaming YAML emitter. It will not buffer your YAML, diff --git a/ext/psych/lib/psych/streaming.rb b/ext/psych/lib/psych/streaming.rb index 9d94eb5..260f8a8 100644 --- a/ext/psych/lib/psych/streaming.rb +++ b/ext/psych/lib/psych/streaming.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false module Psych module Streaming module ClassMethods diff --git a/ext/psych/lib/psych/syntax_error.rb b/ext/psych/lib/psych/syntax_error.rb index e200ef0..db293b9 100644 --- a/ext/psych/lib/psych/syntax_error.rb +++ b/ext/psych/lib/psych/syntax_error.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'psych/exception' module Psych diff --git a/ext/psych/lib/psych/tree_builder.rb b/ext/psych/lib/psych/tree_builder.rb index c8f3447..d359c93 100644 --- a/ext/psych/lib/psych/tree_builder.rb +++ b/ext/psych/lib/psych/tree_builder.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'psych/handler' module Psych diff --git a/ext/psych/lib/psych/versions.rb b/ext/psych/lib/psych/versions.rb index 530d310..5f7652b 100644 --- a/ext/psych/lib/psych/versions.rb +++ b/ext/psych/lib/psych/versions.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false module Psych DEFAULT_SNAKEYAML_VERSION = '1.14'.freeze end diff --git a/ext/psych/lib/psych/visitors.rb b/ext/psych/lib/psych/visitors.rb index cc98b10..5dee4eb 100644 --- a/ext/psych/lib/psych/visitors.rb +++ b/ext/psych/lib/psych/visitors.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'psych/visitors/visitor' require 'psych/visitors/to_ruby' require 'psych/visitors/emitter' diff --git a/ext/psych/lib/psych/visitors/depth_first.rb b/ext/psych/lib/psych/visitors/depth_first.rb index c6eb814..2d74a21 100644 --- a/ext/psych/lib/psych/visitors/depth_first.rb +++ b/ext/psych/lib/psych/visitors/depth_first.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false module Psych module Visitors class DepthFirst < Psych::Visitors::Visitor diff --git a/ext/psych/lib/psych/visitors/emitter.rb b/ext/psych/lib/psych/visitors/emitter.rb index c886e50..f2ff9fd 100644 --- a/ext/psych/lib/psych/visitors/emitter.rb +++ b/ext/psych/lib/psych/visitors/emitter.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false module Psych module Visitors class Emitter < Psych::Visitors::Visitor diff --git a/ext/psych/lib/psych/visitors/json_tree.rb b/ext/psych/lib/psych/visitors/json_tree.rb index 0127ac8..f2f0215 100644 --- a/ext/psych/lib/psych/visitors/json_tree.rb +++ b/ext/psych/lib/psych/visitors/json_tree.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'psych/json/ruby_events' module Psych diff --git a/ext/psych/lib/psych/visitors/to_ruby.rb b/ext/psych/lib/psych/visitors/to_ruby.rb index 4c3591b..c061da2 100644 --- a/ext/psych/lib/psych/visitors/to_ruby.rb +++ b/ext/psych/lib/psych/visitors/to_ruby.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'psych/scalar_scanner' require 'psych/class_loader' require 'psych/exception' diff --git a/ext/psych/lib/psych/visitors/visitor.rb b/ext/psych/lib/psych/visitors/visitor.rb index 4d7772f..d97bf55 100644 --- a/ext/psych/lib/psych/visitors/visitor.rb +++ b/ext/psych/lib/psych/visitors/visitor.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false module Psych module Visitors class Visitor diff --git a/ext/psych/lib/psych/visitors/yaml_tree.rb b/ext/psych/lib/psych/visitors/yaml_tree.rb index 6ad30d2..e7c7a99 100644 --- a/ext/psych/lib/psych/visitors/yaml_tree.rb +++ b/ext/psych/lib/psych/visitors/yaml_tree.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'psych/tree_builder' require 'psych/scalar_scanner' require 'psych/class_loader' diff --git a/ext/psych/lib/psych/y.rb b/ext/psych/lib/psych/y.rb index d0e049d..82e05a7 100644 --- a/ext/psych/lib/psych/y.rb +++ b/ext/psych/lib/psych/y.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false module Kernel ### # An alias for Psych.dump_stream meant to be used with IRB. diff --git a/ext/psych/lib/psych_jars.rb b/ext/psych/lib/psych_jars.rb index 795c7ea..bd7ea04 100644 --- a/ext/psych/lib/psych_jars.rb +++ b/ext/psych/lib/psych_jars.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'psych/versions' require 'psych.jar' diff --git a/ext/pty/extconf.rb b/ext/pty/extconf.rb index 1db9f6e..b37057f 100644 --- a/ext/pty/extconf.rb +++ b/ext/pty/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'mkmf' $INCFLAGS << " -I$(topdir) -I$(top_srcdir)" diff --git a/ext/pty/lib/expect.rb b/ext/pty/lib/expect.rb index c3f3925..1225621 100644 --- a/ext/pty/lib/expect.rb +++ b/ext/pty/lib/expect.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false $expect_verbose = false # Expect library adds the IO instance method #expect, which does similar act to diff --git a/ext/racc/cparse/extconf.rb b/ext/racc/cparse/extconf.rb index 3710f6f..dfddf57 100644 --- a/ext/racc/cparse/extconf.rb +++ b/ext/racc/cparse/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # $Id$ require 'mkmf' diff --git a/ext/rbconfig/sizeof/extconf.rb b/ext/rbconfig/sizeof/extconf.rb index 695f13a..b7cc876 100644 --- a/ext/rbconfig/sizeof/extconf.rb +++ b/ext/rbconfig/sizeof/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false $srcs = %w[sizes.c] $distcleanfiles.concat($srcs) diff --git a/ext/readline/extconf.rb b/ext/readline/extconf.rb index 5cbcc0e..776ab19 100644 --- a/ext/readline/extconf.rb +++ b/ext/readline/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require "mkmf" readline = Struct.new(:headers, :extra_check).new(["stdio.h"]) diff --git a/ext/ripper/extconf.rb b/ext/ripper/extconf.rb index db54e5c..ec68698 100644 --- a/ext/ripper/extconf.rb +++ b/ext/ripper/extconf.rb @@ -1,4 +1,5 @@ #!ruby -s +# frozen_string_literal: false require 'mkmf' require 'rbconfig' diff --git a/ext/ripper/lib/ripper.rb b/ext/ripper/lib/ripper.rb index 542bd40..c5c3a80 100644 --- a/ext/ripper/lib/ripper.rb +++ b/ext/ripper/lib/ripper.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'ripper/core' require 'ripper/lexer' require 'ripper/filter' diff --git a/ext/ripper/lib/ripper/core.rb b/ext/ripper/lib/ripper/core.rb index de8042f..53ed14d 100644 --- a/ext/ripper/lib/ripper/core.rb +++ b/ext/ripper/lib/ripper/core.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # $Id$ # diff --git a/ext/ripper/lib/ripper/filter.rb b/ext/ripper/lib/ripper/filter.rb index 239f9f0..a50a2c6 100644 --- a/ext/ripper/lib/ripper/filter.rb +++ b/ext/ripper/lib/ripper/filter.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # $Id$ # diff --git a/ext/ripper/lib/ripper/lexer.rb b/ext/ripper/lib/ripper/lexer.rb index e0460e8..bb12ee5 100644 --- a/ext/ripper/lib/ripper/lexer.rb +++ b/ext/ripper/lib/ripper/lexer.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # $Id$ # diff --git a/ext/ripper/lib/ripper/sexp.rb b/ext/ripper/lib/ripper/sexp.rb index d9f445c..aa1f86e 100644 --- a/ext/ripper/lib/ripper/sexp.rb +++ b/ext/ripper/lib/ripper/sexp.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # $Id$ # diff --git a/ext/ripper/tools/generate-param-macros.rb b/ext/ripper/tools/generate-param-macros.rb index b19f6e8..c1f0c5b 100755 --- a/ext/ripper/tools/generate-param-macros.rb +++ b/ext/ripper/tools/generate-param-macros.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false off = true ARGF.each do |line| case line diff --git a/ext/ripper/tools/generate.rb b/ext/ripper/tools/generate.rb index 06b5710..cb02de9 100755 --- a/ext/ripper/tools/generate.rb +++ b/ext/ripper/tools/generate.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # $Id$ require 'optparse' diff --git a/ext/ripper/tools/preproc.rb b/ext/ripper/tools/preproc.rb index 06397ce..2377506 100755 --- a/ext/ripper/tools/preproc.rb +++ b/ext/ripper/tools/preproc.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # $Id$ require 'optparse' diff --git a/ext/ripper/tools/strip.rb b/ext/ripper/tools/strip.rb index 99413c3..82022d0 100755 --- a/ext/ripper/tools/strip.rb +++ b/ext/ripper/tools/strip.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false last_is_void = false ARGF.each do |line| if line.strip.empty? diff --git a/ext/sdbm/extconf.rb b/ext/sdbm/extconf.rb index 67796fb..bdf3e29 100644 --- a/ext/sdbm/extconf.rb +++ b/ext/sdbm/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'mkmf' $defs << "-D""BADMESS=0" diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb index 1c716c4..fd70be4 100644 --- a/ext/socket/extconf.rb +++ b/ext/socket/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'mkmf' AF_INET6_SOCKET_CREATION_TEST = <<EOF diff --git a/ext/socket/mkconstants.rb b/ext/socket/mkconstants.rb index 59fcb17..0ebf628 100644 --- a/ext/socket/mkconstants.rb +++ b/ext/socket/mkconstants.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'optparse' require 'erb' diff --git a/ext/stringio/extconf.rb b/ext/stringio/extconf.rb index 8fc84b3..ad8650d 100644 --- a/ext/stringio/extconf.rb +++ b/ext/stringio/extconf.rb @@ -1,2 +1,3 @@ +# frozen_string_literal: false require 'mkmf' create_makefile('stringio') diff --git a/ext/strscan/extconf.rb b/ext/strscan/extconf.rb index 3e5a295..c968f81 100644 --- a/ext/strscan/extconf.rb +++ b/ext/strscan/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'mkmf' $INCFLAGS << " -I$(top_srcdir)" create_makefile 'strscan' diff --git a/ext/syslog/extconf.rb b/ext/syslog/extconf.rb index 0fa0bc3..3bfea1f 100644 --- a/ext/syslog/extconf.rb +++ b/ext/syslog/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # $RoughId: extconf.rb,v 1.3 2001/11/24 17:49:26 knu Exp $ # $Id$ diff --git a/ext/syslog/lib/syslog/logger.rb b/ext/syslog/lib/syslog/logger.rb index 7040e19..06cbe5b 100644 --- a/ext/syslog/lib/syslog/logger.rb +++ b/ext/syslog/lib/syslog/logger.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'syslog' require 'logger' diff --git a/ext/thread/extconf.rb b/ext/thread/extconf.rb index f2f0890..7e1c6d2 100644 --- a/ext/thread/extconf.rb +++ b/ext/thread/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'mkmf' create_makefile('thread') diff --git a/ext/tk/extconf.rb b/ext/tk/extconf.rb index a6e87eb..c4ea406 100644 --- a/ext/tk/extconf.rb +++ b/ext/tk/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false ############################################################## # extconf.rb for tcltklib # release date: 2010-07-30 diff --git a/ext/tk/lib/multi-tk.rb b/ext/tk/lib/multi-tk.rb index e0f41d0..a5759c7 100644 --- a/ext/tk/lib/multi-tk.rb +++ b/ext/tk/lib/multi-tk.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # multi-tk.rb - supports multi Tk interpreters # by Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> diff --git a/ext/tk/lib/remote-tk.rb b/ext/tk/lib/remote-tk.rb index f414489..165e658 100644 --- a/ext/tk/lib/remote-tk.rb +++ b/ext/tk/lib/remote-tk.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # remote-tk.rb - supports to control remote Tk interpreters # by Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> diff --git a/ext/tk/lib/tcltk.rb b/ext/tk/lib/tcltk.rb index f8fbdfb..7796bb8 100644 --- a/ext/tk/lib/tcltk.rb +++ b/ext/tk/lib/tcltk.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # tof #### tcltk library, more direct manipulation of tcl/tk diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb index dd29589..7fe2fb0 100644 --- a/ext/tk/lib/tk.rb +++ b/ext/tk/lib/tk.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk.rb - Tk interface module using tcltklib # by Yukihiro Matsumoto <matz@netlab.jp> diff --git a/ext/tk/lib/tk/after.rb b/ext/tk/lib/tk/after.rb index 8c58210..3213a6b 100644 --- a/ext/tk/lib/tk/after.rb +++ b/ext/tk/lib/tk/after.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/after.rb : methods for Tcl/Tk after command # diff --git a/ext/tk/lib/tk/autoload.rb b/ext/tk/lib/tk/autoload.rb index 451922c..3d19fb0 100644 --- a/ext/tk/lib/tk/autoload.rb +++ b/ext/tk/lib/tk/autoload.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # autoload # diff --git a/ext/tk/lib/tk/bgerror.rb b/ext/tk/lib/tk/bgerror.rb index c82a8e0..9d2f593 100644 --- a/ext/tk/lib/tk/bgerror.rb +++ b/ext/tk/lib/tk/bgerror.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkbgerror -- bgerror ( tkerror ) module # 1998/07/16 by Hidetoshi Nagai <nagai@ai.kyutech.ac.jp> diff --git a/ext/tk/lib/tk/bindtag.rb b/ext/tk/lib/tk/bindtag.rb index 23b4e0b..ad3c90b 100644 --- a/ext/tk/lib/tk/bindtag.rb +++ b/ext/tk/lib/tk/bindtag.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/bind.rb : control event binding # diff --git a/ext/tk/lib/tk/busy.rb b/ext/tk/lib/tk/busy.rb index 7f4f89f..18ebede 100644 --- a/ext/tk/lib/tk/busy.rb +++ b/ext/tk/lib/tk/busy.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/busy.rb: support 'tk busy' command (Tcl/Tk8.6 or later) # diff --git a/ext/tk/lib/tk/button.rb b/ext/tk/lib/tk/button.rb index 65233c9..dc252d8 100644 --- a/ext/tk/lib/tk/button.rb +++ b/ext/tk/lib/tk/button.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/button.rb : treat button widget # diff --git a/ext/tk/lib/tk/canvas.rb b/ext/tk/lib/tk/canvas.rb index f3e9a7c..d707733 100644 --- a/ext/tk/lib/tk/canvas.rb +++ b/ext/tk/lib/tk/canvas.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/canvas.rb - Tk canvas classes # by Yukihiro Matsumoto <matz@caelum.co.jp> diff --git a/ext/tk/lib/tk/canvastag.rb b/ext/tk/lib/tk/canvastag.rb index 495d92a..4a14cd7 100644 --- a/ext/tk/lib/tk/canvastag.rb +++ b/ext/tk/lib/tk/canvastag.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/canvastag.rb - methods for treating canvas tags # diff --git a/ext/tk/lib/tk/checkbutton.rb b/ext/tk/lib/tk/checkbutton.rb index b744954..521b015 100644 --- a/ext/tk/lib/tk/checkbutton.rb +++ b/ext/tk/lib/tk/checkbutton.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/checkbutton.rb : treat checkbutton widget # diff --git a/ext/tk/lib/tk/clipboard.rb b/ext/tk/lib/tk/clipboard.rb index d4205a5..c5f481f 100644 --- a/ext/tk/lib/tk/clipboard.rb +++ b/ext/tk/lib/tk/clipboard.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/clipboard.rb : methods to treat clipboard # diff --git a/ext/tk/lib/tk/clock.rb b/ext/tk/lib/tk/clock.rb index 4e9438f..df900d7 100644 --- a/ext/tk/lib/tk/clock.rb +++ b/ext/tk/lib/tk/clock.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/clock.rb : methods for clock command # diff --git a/ext/tk/lib/tk/composite.rb b/ext/tk/lib/tk/composite.rb index e267c7a..830d383 100644 --- a/ext/tk/lib/tk/composite.rb +++ b/ext/tk/lib/tk/composite.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/composite.rb : # diff --git a/ext/tk/lib/tk/console.rb b/ext/tk/lib/tk/console.rb index 64e2575..c560912 100644 --- a/ext/tk/lib/tk/console.rb +++ b/ext/tk/lib/tk/console.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/console.rb : control the console on system without a real console # diff --git a/ext/tk/lib/tk/dialog.rb b/ext/tk/lib/tk/dialog.rb index 7ef7820..0b19be7 100644 --- a/ext/tk/lib/tk/dialog.rb +++ b/ext/tk/lib/tk/dialog.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/dialog.rb : create dialog boxes # diff --git a/ext/tk/lib/tk/encodedstr.rb b/ext/tk/lib/tk/encodedstr.rb index 59fbb19..9ca13b3 100644 --- a/ext/tk/lib/tk/encodedstr.rb +++ b/ext/tk/lib/tk/encodedstr.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/encodedstr.rb : Tk::EncodedString class # diff --git a/ext/tk/lib/tk/entry.rb b/ext/tk/lib/tk/entry.rb index d4aa03f..aa40e47 100644 --- a/ext/tk/lib/tk/entry.rb +++ b/ext/tk/lib/tk/entry.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/entry.rb - Tk entry classes # by Yukihiro Matsumoto <matz@caelum.co.jp> diff --git a/ext/tk/lib/tk/event.rb b/ext/tk/lib/tk/event.rb index bf4e122..5658e92 100644 --- a/ext/tk/lib/tk/event.rb +++ b/ext/tk/lib/tk/event.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/event.rb - module for event # diff --git a/ext/tk/lib/tk/font.rb b/ext/tk/lib/tk/font.rb index 03db850..7a2a549 100644 --- a/ext/tk/lib/tk/font.rb +++ b/ext/tk/lib/tk/font.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/font.rb - the class to treat fonts on Ruby/Tk # diff --git a/ext/tk/lib/tk/fontchooser.rb b/ext/tk/lib/tk/fontchooser.rb index 6dab0c6..325ca4d 100644 --- a/ext/tk/lib/tk/fontchooser.rb +++ b/ext/tk/lib/tk/fontchooser.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/fontchooser.rb -- "tk fontchooser" support (Tcl/Tk8.6 or later) # diff --git a/ext/tk/lib/tk/frame.rb b/ext/tk/lib/tk/frame.rb index 5118939..0682faf 100644 --- a/ext/tk/lib/tk/frame.rb +++ b/ext/tk/lib/tk/frame.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/frame.rb : treat frame widget # diff --git a/ext/tk/lib/tk/grid.rb b/ext/tk/lib/tk/grid.rb index e1e07c4..5a4a264 100644 --- a/ext/tk/lib/tk/grid.rb +++ b/ext/tk/lib/tk/grid.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/grid.rb : control grid geometry manager # diff --git a/ext/tk/lib/tk/image.rb b/ext/tk/lib/tk/image.rb index 9723839..ec23e49 100644 --- a/ext/tk/lib/tk/image.rb +++ b/ext/tk/lib/tk/image.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/image.rb : treat Tk image objects # diff --git a/ext/tk/lib/tk/itemconfig.rb b/ext/tk/lib/tk/itemconfig.rb index e8eb83d..e615fa0 100644 --- a/ext/tk/lib/tk/itemconfig.rb +++ b/ext/tk/lib/tk/itemconfig.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/itemconfig.rb : control item/tag configuration of widget # diff --git a/ext/tk/lib/tk/itemfont.rb b/ext/tk/lib/tk/itemfont.rb index b5da4fa..92f75ac 100644 --- a/ext/tk/lib/tk/itemfont.rb +++ b/ext/tk/lib/tk/itemfont.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/itemfont.rb : control font of widget items # diff --git a/ext/tk/lib/tk/kinput.rb b/ext/tk/lib/tk/kinput.rb index b63f756..6d2b3d7 100644 --- a/ext/tk/lib/tk/kinput.rb +++ b/ext/tk/lib/tk/kinput.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/kinput.rb : control kinput # diff --git a/ext/tk/lib/tk/label.rb b/ext/tk/lib/tk/label.rb index 05e430e..48f67de 100644 --- a/ext/tk/lib/tk/label.rb +++ b/ext/tk/lib/tk/label.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/label.rb : treat label widget # diff --git a/ext/tk/lib/tk/labelframe.rb b/ext/tk/lib/tk/labelframe.rb index 6f679e5..f9497dc 100644 --- a/ext/tk/lib/tk/labelframe.rb +++ b/ext/tk/lib/tk/labelframe.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/labelframe.rb : treat labelframe widget # diff --git a/ext/tk/lib/tk/listbox.rb b/ext/tk/lib/tk/listbox.rb index 6742b21..df4d422 100644 --- a/ext/tk/lib/tk/listbox.rb +++ b/ext/tk/lib/tk/listbox.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/listbox.rb : treat listbox widget # diff --git a/ext/tk/lib/tk/macpkg.rb b/ext/tk/lib/tk/macpkg.rb index 3ca7953..abf9b17 100644 --- a/ext/tk/lib/tk/macpkg.rb +++ b/ext/tk/lib/tk/macpkg.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/macpkg.rb : methods for Tcl/Tk packages for Macintosh # 2000/11/22 by Hidetoshi Nagai <nagai@ai.kyutech.ac.jp> diff --git a/ext/tk/lib/tk/menu.rb b/ext/tk/lib/tk/menu.rb index bcd2500..16347a9 100644 --- a/ext/tk/lib/tk/menu.rb +++ b/ext/tk/lib/tk/menu.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/menu.rb : treat menu and menubutton # diff --git a/ext/tk/lib/tk/menubar.rb b/ext/tk/lib/tk/menubar.rb index 9d5571c..17cb447 100644 --- a/ext/tk/lib/tk/menubar.rb +++ b/ext/tk/lib/tk/menubar.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/menubar.rb # diff --git a/ext/tk/lib/tk/menuspec.rb b/ext/tk/lib/tk/menuspec.rb index cb3597e..2de6224 100644 --- a/ext/tk/lib/tk/menuspec.rb +++ b/ext/tk/lib/tk/menuspec.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/menuspec.rb # Hidethoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tk/message.rb b/ext/tk/lib/tk/message.rb index 5f73b30..432e966 100644 --- a/ext/tk/lib/tk/message.rb +++ b/ext/tk/lib/tk/message.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/message.rb : treat message widget # diff --git a/ext/tk/lib/tk/mngfocus.rb b/ext/tk/lib/tk/mngfocus.rb index a05fb94..06b20eb 100644 --- a/ext/tk/lib/tk/mngfocus.rb +++ b/ext/tk/lib/tk/mngfocus.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/mngfocus.rb : methods for Tcl/Tk standard library 'focus.tcl' # by Hidetoshi Nagai <nagai@ai.kyutech.ac.jp> diff --git a/ext/tk/lib/tk/msgcat.rb b/ext/tk/lib/tk/msgcat.rb index f2d0653..1e98889 100644 --- a/ext/tk/lib/tk/msgcat.rb +++ b/ext/tk/lib/tk/msgcat.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/msgcat.rb : methods for Tcl message catalog # by Hidetoshi Nagai <nagai@ai.kyutech.ac.jp> diff --git a/ext/tk/lib/tk/namespace.rb b/ext/tk/lib/tk/namespace.rb index 0119ba5..1cab6fa 100644 --- a/ext/tk/lib/tk/namespace.rb +++ b/ext/tk/lib/tk/namespace.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/namespace.rb : methods to manipulate Tcl/Tk namespace # by Hidetoshi Nagai <nagai@ai.kyutech.ac.jp> diff --git a/ext/tk/lib/tk/optiondb.rb b/ext/tk/lib/tk/optiondb.rb index 91d2697..b27a5e5 100644 --- a/ext/tk/lib/tk/optiondb.rb +++ b/ext/tk/lib/tk/optiondb.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/optiondb.rb : treat option database # diff --git a/ext/tk/lib/tk/optionobj.rb b/ext/tk/lib/tk/optionobj.rb index 29b06da..4219e4b 100644 --- a/ext/tk/lib/tk/optionobj.rb +++ b/ext/tk/lib/tk/optionobj.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/optionobj.rb : control options for a group of widgets # diff --git a/ext/tk/lib/tk/pack.rb b/ext/tk/lib/tk/pack.rb index 220a38e..45926d4 100644 --- a/ext/tk/lib/tk/pack.rb +++ b/ext/tk/lib/tk/pack.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/pack.rb : control pack geometry manager # diff --git a/ext/tk/lib/tk/package.rb b/ext/tk/lib/tk/package.rb index 0c32973..fe6939c 100644 --- a/ext/tk/lib/tk/package.rb +++ b/ext/tk/lib/tk/package.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/package.rb : package command # diff --git a/ext/tk/lib/tk/palette.rb b/ext/tk/lib/tk/palette.rb index 9462bb0..e118e8d 100644 --- a/ext/tk/lib/tk/palette.rb +++ b/ext/tk/lib/tk/palette.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/palette.rb : methods for Tcl/Tk standard library 'palette.tcl' # 1998/06/21 by Hidetoshi Nagai <nagai@ai.kyutech.ac.jp> diff --git a/ext/tk/lib/tk/panedwindow.rb b/ext/tk/lib/tk/panedwindow.rb index 0440780..285292f 100644 --- a/ext/tk/lib/tk/panedwindow.rb +++ b/ext/tk/lib/tk/panedwindow.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/panedwindow.rb : treat panedwindow # diff --git a/ext/tk/lib/tk/place.rb b/ext/tk/lib/tk/place.rb index 109d866..efda36d 100644 --- a/ext/tk/lib/tk/place.rb +++ b/ext/tk/lib/tk/place.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/place.rb : control place geometry manager # diff --git a/ext/tk/lib/tk/radiobutton.rb b/ext/tk/lib/tk/radiobutton.rb index 627df6d..b0858df 100644 --- a/ext/tk/lib/tk/radiobutton.rb +++ b/ext/tk/lib/tk/radiobutton.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/radiobutton.rb : treat radiobutton widget # diff --git a/ext/tk/lib/tk/root.rb b/ext/tk/lib/tk/root.rb index b4f0bd1..3fb7c47 100644 --- a/ext/tk/lib/tk/root.rb +++ b/ext/tk/lib/tk/root.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/root.rb : treat root widget # diff --git a/ext/tk/lib/tk/scale.rb b/ext/tk/lib/tk/scale.rb index 0bdcead..f6f60e3 100644 --- a/ext/tk/lib/tk/scale.rb +++ b/ext/tk/lib/tk/scale.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/scale.rb : treat scale widget # diff --git a/ext/tk/lib/tk/scrollable.rb b/ext/tk/lib/tk/scrollable.rb index 96959b7..e9b4a93 100644 --- a/ext/tk/lib/tk/scrollable.rb +++ b/ext/tk/lib/tk/scrollable.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/scrollable.rb : module for scrollable widget # diff --git a/ext/tk/lib/tk/scrollbar.rb b/ext/tk/lib/tk/scrollbar.rb index c0ac201..c16ed38 100644 --- a/ext/tk/lib/tk/scrollbar.rb +++ b/ext/tk/lib/tk/scrollbar.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/scrollbar.rb : treat scrollbar widget # diff --git a/ext/tk/lib/tk/scrollbox.rb b/ext/tk/lib/tk/scrollbox.rb index d20742a..a470765 100644 --- a/ext/tk/lib/tk/scrollbox.rb +++ b/ext/tk/lib/tk/scrollbox.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/scrollbox.rb - Tk Listbox with Scrollbar # as an example of Composite Widget diff --git a/ext/tk/lib/tk/selection.rb b/ext/tk/lib/tk/selection.rb index ba0a6f4..085d8b2 100644 --- a/ext/tk/lib/tk/selection.rb +++ b/ext/tk/lib/tk/selection.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/selection.rb : control selection # diff --git a/ext/tk/lib/tk/spinbox.rb b/ext/tk/lib/tk/spinbox.rb index f2917d6..4be41c4 100644 --- a/ext/tk/lib/tk/spinbox.rb +++ b/ext/tk/lib/tk/spinbox.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/spinbox.rb - Tk spinbox classes # by Yukihiro Matsumoto <matz@caelum.co.jp> diff --git a/ext/tk/lib/tk/tagfont.rb b/ext/tk/lib/tk/tagfont.rb index a180739..e3fd604 100644 --- a/ext/tk/lib/tk/tagfont.rb +++ b/ext/tk/lib/tk/tagfont.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/tagfont.rb : control font of tags # diff --git a/ext/tk/lib/tk/text.rb b/ext/tk/lib/tk/text.rb index c18b384..fc4f112 100644 --- a/ext/tk/lib/tk/text.rb +++ b/ext/tk/lib/tk/text.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/text.rb - Tk text classes # by Yukihiro Matsumoto <matz@caelum.co.jp> diff --git a/ext/tk/lib/tk/textimage.rb b/ext/tk/lib/tk/textimage.rb index 99027a0..f7329c5 100644 --- a/ext/tk/lib/tk/textimage.rb +++ b/ext/tk/lib/tk/textimage.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/textimage.rb - treat Tk text image object # diff --git a/ext/tk/lib/tk/textmark.rb b/ext/tk/lib/tk/textmark.rb index d1888c5..80945cc 100644 --- a/ext/tk/lib/tk/textmark.rb +++ b/ext/tk/lib/tk/textmark.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/textmark.rb - methods for treating text marks # diff --git a/ext/tk/lib/tk/texttag.rb b/ext/tk/lib/tk/texttag.rb index 9669201..9f11c65 100644 --- a/ext/tk/lib/tk/texttag.rb +++ b/ext/tk/lib/tk/texttag.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/texttag.rb - methods for treating text tags # diff --git a/ext/tk/lib/tk/textwindow.rb b/ext/tk/lib/tk/textwindow.rb index 49327b2..e0be5ba 100644 --- a/ext/tk/lib/tk/textwindow.rb +++ b/ext/tk/lib/tk/textwindow.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/textwindow.rb - treat Tk text window object # diff --git a/ext/tk/lib/tk/timer.rb b/ext/tk/lib/tk/timer.rb index 29aa84b..794463a 100644 --- a/ext/tk/lib/tk/timer.rb +++ b/ext/tk/lib/tk/timer.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/timer.rb : methods for Tcl/Tk after command # diff --git a/ext/tk/lib/tk/tk_mac.rb b/ext/tk/lib/tk/tk_mac.rb index 77bb234..ed90fd1 100644 --- a/ext/tk/lib/tk/tk_mac.rb +++ b/ext/tk/lib/tk/tk_mac.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/tk_mac.rb : Access Mac-Specific functionality on OS X from Tk # (supported by Tk8.6 or later) diff --git a/ext/tk/lib/tk/toplevel.rb b/ext/tk/lib/tk/toplevel.rb index 30ef009..e66b0fc 100644 --- a/ext/tk/lib/tk/toplevel.rb +++ b/ext/tk/lib/tk/toplevel.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/toplevel.rb : treat toplevel widget # diff --git a/ext/tk/lib/tk/ttk_selector.rb b/ext/tk/lib/tk/ttk_selector.rb index cc9e992..4589e7f 100644 --- a/ext/tk/lib/tk/ttk_selector.rb +++ b/ext/tk/lib/tk/ttk_selector.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # ttk_selector # diff --git a/ext/tk/lib/tk/txtwin_abst.rb b/ext/tk/lib/tk/txtwin_abst.rb index 540f806..3c9beef 100644 --- a/ext/tk/lib/tk/txtwin_abst.rb +++ b/ext/tk/lib/tk/txtwin_abst.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/txtwin_abst.rb : TkTextWin abstruct class # diff --git a/ext/tk/lib/tk/validation.rb b/ext/tk/lib/tk/validation.rb index 0ebd5c5..c6cbfb2 100644 --- a/ext/tk/lib/tk/validation.rb +++ b/ext/tk/lib/tk/validation.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/validation.rb - validation support module for entry, spinbox, and so on # diff --git a/ext/tk/lib/tk/variable.rb b/ext/tk/lib/tk/variable.rb index 496225a..8ac0fc6 100644 --- a/ext/tk/lib/tk/variable.rb +++ b/ext/tk/lib/tk/variable.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/variable.rb : treat Tk variable object # diff --git a/ext/tk/lib/tk/virtevent.rb b/ext/tk/lib/tk/virtevent.rb index c11e969..de3c33d 100644 --- a/ext/tk/lib/tk/virtevent.rb +++ b/ext/tk/lib/tk/virtevent.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/virtevent.rb : treats virtual events # 1998/07/16 by Hidetoshi Nagai <nagai@ai.kyutech.ac.jp> diff --git a/ext/tk/lib/tk/winfo.rb b/ext/tk/lib/tk/winfo.rb index b10cfe6..36f32e5 100644 --- a/ext/tk/lib/tk/winfo.rb +++ b/ext/tk/lib/tk/winfo.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/winfo.rb : methods for winfo command # diff --git a/ext/tk/lib/tk/winpkg.rb b/ext/tk/lib/tk/winpkg.rb index 80e0439..2a8f724 100644 --- a/ext/tk/lib/tk/winpkg.rb +++ b/ext/tk/lib/tk/winpkg.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/winpkg.rb : methods for Tcl/Tk packages for Microsoft Windows # 2000/11/22 by Hidetoshi Nagai <nagai@ai.kyutech.ac.jp> diff --git a/ext/tk/lib/tk/wm.rb b/ext/tk/lib/tk/wm.rb index fcd5a2c..114ba24 100644 --- a/ext/tk/lib/tk/wm.rb +++ b/ext/tk/lib/tk/wm.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/wm.rb : methods for wm command # diff --git a/ext/tk/lib/tk/xim.rb b/ext/tk/lib/tk/xim.rb index c0126c5..7e77591 100644 --- a/ext/tk/lib/tk/xim.rb +++ b/ext/tk/lib/tk/xim.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tk/xim.rb : control imput_method # diff --git a/ext/tk/lib/tkafter.rb b/ext/tk/lib/tkafter.rb index f659458..0ce5049 100644 --- a/ext/tk/lib/tkafter.rb +++ b/ext/tk/lib/tkafter.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkafter.rb - load tk/after.rb # diff --git a/ext/tk/lib/tkbgerror.rb b/ext/tk/lib/tkbgerror.rb index deba7a5..875f3fe 100644 --- a/ext/tk/lib/tkbgerror.rb +++ b/ext/tk/lib/tkbgerror.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkbgerror.rb - load tk/bgerror.rb # diff --git a/ext/tk/lib/tkcanvas.rb b/ext/tk/lib/tkcanvas.rb index 9524614..d4d0afa 100644 --- a/ext/tk/lib/tkcanvas.rb +++ b/ext/tk/lib/tkcanvas.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkcanvas.rb - load tk/canvas.rb # diff --git a/ext/tk/lib/tkclass.rb b/ext/tk/lib/tkclass.rb index 87f5acc..947cbf3 100644 --- a/ext/tk/lib/tkclass.rb +++ b/ext/tk/lib/tkclass.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkclass.rb - Tk classes # Date: 2000/11/27 09:23:36 diff --git a/ext/tk/lib/tkconsole.rb b/ext/tk/lib/tkconsole.rb index 9960ddb..f4e8669 100644 --- a/ext/tk/lib/tkconsole.rb +++ b/ext/tk/lib/tkconsole.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkconsole.rb - load tk/console.rb # diff --git a/ext/tk/lib/tkdialog.rb b/ext/tk/lib/tkdialog.rb index bec5e5d..7a24e2a 100644 --- a/ext/tk/lib/tkdialog.rb +++ b/ext/tk/lib/tkdialog.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkdialog.rb - load tk/dialog.rb # diff --git a/ext/tk/lib/tkentry.rb b/ext/tk/lib/tkentry.rb index 2dcfcab..9ae2f7c 100644 --- a/ext/tk/lib/tkentry.rb +++ b/ext/tk/lib/tkentry.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkentry.rb - load tk/entry.rb # diff --git a/ext/tk/lib/tkextlib/ICONS.rb b/ext/tk/lib/tkextlib/ICONS.rb index 18d84c0..10402c1 100644 --- a/ext/tk/lib/tkextlib/ICONS.rb +++ b/ext/tk/lib/tkextlib/ICONS.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # ICONS support # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/ICONS/icons.rb b/ext/tk/lib/tkextlib/ICONS/icons.rb index bd3180a..2934757 100644 --- a/ext/tk/lib/tkextlib/ICONS/icons.rb +++ b/ext/tk/lib/tkextlib/ICONS/icons.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/ICONS/icons.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/ICONS/setup.rb b/ext/tk/lib/tkextlib/ICONS/setup.rb index ee406c6..cc967dc 100644 --- a/ext/tk/lib/tkextlib/ICONS/setup.rb +++ b/ext/tk/lib/tkextlib/ICONS/setup.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # setup.rb -- setup script before calling TkPackage.require() # diff --git a/ext/tk/lib/tkextlib/blt.rb b/ext/tk/lib/tkextlib/blt.rb index 8b132e4..665e412 100644 --- a/ext/tk/lib/tkextlib/blt.rb +++ b/ext/tk/lib/tkextlib/blt.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # BLT support # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/blt/barchart.rb b/ext/tk/lib/tkextlib/blt/barchart.rb index a86b91c..5b6f09e 100644 --- a/ext/tk/lib/tkextlib/blt/barchart.rb +++ b/ext/tk/lib/tkextlib/blt/barchart.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/blt/barchart.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/blt/bitmap.rb b/ext/tk/lib/tkextlib/blt/bitmap.rb index 3254b63..b9f4110 100644 --- a/ext/tk/lib/tkextlib/blt/bitmap.rb +++ b/ext/tk/lib/tkextlib/blt/bitmap.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/blt/bitmap.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/blt/busy.rb b/ext/tk/lib/tkextlib/blt/busy.rb index b5287fb..ab24420 100644 --- a/ext/tk/lib/tkextlib/blt/busy.rb +++ b/ext/tk/lib/tkextlib/blt/busy.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/blt/busy.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/blt/component.rb b/ext/tk/lib/tkextlib/blt/component.rb index c7ea213..a6b6f13 100644 --- a/ext/tk/lib/tkextlib/blt/component.rb +++ b/ext/tk/lib/tkextlib/blt/component.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/blt/component.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/blt/container.rb b/ext/tk/lib/tkextlib/blt/container.rb index be05828..6ee1113 100644 --- a/ext/tk/lib/tkextlib/blt/container.rb +++ b/ext/tk/lib/tkextlib/blt/container.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/blt/container.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/blt/cutbuffer.rb b/ext/tk/lib/tkextlib/blt/cutbuffer.rb index 1cc39df..b36aece 100644 --- a/ext/tk/lib/tkextlib/blt/cutbuffer.rb +++ b/ext/tk/lib/tkextlib/blt/cutbuffer.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/blt/cutbuffer.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/blt/dragdrop.rb b/ext/tk/lib/tkextlib/blt/dragdrop.rb index aa5c565..dc2531b 100644 --- a/ext/tk/lib/tkextlib/blt/dragdrop.rb +++ b/ext/tk/lib/tkextlib/blt/dragdrop.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/blt/dragdrop.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/blt/eps.rb b/ext/tk/lib/tkextlib/blt/eps.rb index 0dba87a..bd2d3cc 100644 --- a/ext/tk/lib/tkextlib/blt/eps.rb +++ b/ext/tk/lib/tkextlib/blt/eps.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/blt/eps.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/blt/graph.rb b/ext/tk/lib/tkextlib/blt/graph.rb index 6bd4424..02de006 100644 --- a/ext/tk/lib/tkextlib/blt/graph.rb +++ b/ext/tk/lib/tkextlib/blt/graph.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/blt/graph.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/blt/htext.rb b/ext/tk/lib/tkextlib/blt/htext.rb index 878bd99..d0f5e8b 100644 --- a/ext/tk/lib/tkextlib/blt/htext.rb +++ b/ext/tk/lib/tkextlib/blt/htext.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/blt/htext.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/blt/setup.rb b/ext/tk/lib/tkextlib/blt/setup.rb index ee406c6..cc967dc 100644 --- a/ext/tk/lib/tkextlib/blt/setup.rb +++ b/ext/tk/lib/tkextlib/blt/setup.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # setup.rb -- setup script before calling TkPackage.require() # diff --git a/ext/tk/lib/tkextlib/blt/spline.rb b/ext/tk/lib/tkextlib/blt/spline.rb index 9f75a0b..84d96a0 100644 --- a/ext/tk/lib/tkextlib/blt/spline.rb +++ b/ext/tk/lib/tkextlib/blt/spline.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/blt/spline.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/blt/stripchart.rb b/ext/tk/lib/tkextlib/blt/stripchart.rb index 74093f1..332521a 100644 --- a/ext/tk/lib/tkextlib/blt/stripchart.rb +++ b/ext/tk/lib/tkextlib/blt/stripchart.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/blt/stripchart.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/blt/table.rb b/ext/tk/lib/tkextlib/blt/table.rb index 205e29e..39e3454 100644 --- a/ext/tk/lib/tkextlib/blt/table.rb +++ b/ext/tk/lib/tkextlib/blt/table.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/blt/table.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/blt/tabnotebook.rb b/ext/tk/lib/tkextlib/blt/tabnotebook.rb index 82936c6..f08f198 100644 --- a/ext/tk/lib/tkextlib/blt/tabnotebook.rb +++ b/ext/tk/lib/tkextlib/blt/tabnotebook.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/blt/tabnotebook.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/blt/tabset.rb b/ext/tk/lib/tkextlib/blt/tabset.rb index c4716c7..022d978 100644 --- a/ext/tk/lib/tkextlib/blt/tabset.rb +++ b/ext/tk/lib/tkextlib/blt/tabset.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/blt/tabset.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/blt/ted.rb b/ext/tk/lib/tkextlib/blt/ted.rb index 53ab9ac..7e81eab 100644 --- a/ext/tk/lib/tkextlib/blt/ted.rb +++ b/ext/tk/lib/tkextlib/blt/ted.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/blt/ted.rb # diff --git a/ext/tk/lib/tkextlib/blt/tile.rb b/ext/tk/lib/tkextlib/blt/tile.rb index c67cafd..f52a5d3 100644 --- a/ext/tk/lib/tkextlib/blt/tile.rb +++ b/ext/tk/lib/tkextlib/blt/tile.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/blt/tile.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/blt/tile/button.rb b/ext/tk/lib/tkextlib/blt/tile/button.rb index 2e0863c..e3d819e 100644 --- a/ext/tk/lib/tkextlib/blt/tile/button.rb +++ b/ext/tk/lib/tkextlib/blt/tile/button.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/blt/tile/button.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/blt/tile/checkbutton.rb b/ext/tk/lib/tkextlib/blt/tile/checkbutton.rb index da230b5..0c8c7f9 100644 --- a/ext/tk/lib/tkextlib/blt/tile/checkbutton.rb +++ b/ext/tk/lib/tkextlib/blt/tile/checkbutton.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/blt/tile/checkbutton.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/blt/tile/frame.rb b/ext/tk/lib/tkextlib/blt/tile/frame.rb index 5434af4..8d979fe 100644 --- a/ext/tk/lib/tkextlib/blt/tile/frame.rb +++ b/ext/tk/lib/tkextlib/blt/tile/frame.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/blt/tile/frame.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/blt/tile/label.rb b/ext/tk/lib/tkextlib/blt/tile/label.rb index f370c14..f58450d 100644 --- a/ext/tk/lib/tkextlib/blt/tile/label.rb +++ b/ext/tk/lib/tkextlib/blt/tile/label.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/blt/tile/label.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/blt/tile/radiobutton.rb b/ext/tk/lib/tkextlib/blt/tile/radiobutton.rb index 814f9a5..ee449c7 100644 --- a/ext/tk/lib/tkextlib/blt/tile/radiobutton.rb +++ b/ext/tk/lib/tkextlib/blt/tile/radiobutton.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/blt/tile/radiobutton.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/blt/tile/scrollbar.rb b/ext/tk/lib/tkextlib/blt/tile/scrollbar.rb index 2ae871d..35d878d 100644 --- a/ext/tk/lib/tkextlib/blt/tile/scrollbar.rb +++ b/ext/tk/lib/tkextlib/blt/tile/scrollbar.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/blt/tile/scrollbar.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/blt/tile/toplevel.rb b/ext/tk/lib/tkextlib/blt/tile/toplevel.rb index 76d5f86..e30b8b3 100644 --- a/ext/tk/lib/tkextlib/blt/tile/toplevel.rb +++ b/ext/tk/lib/tkextlib/blt/tile/toplevel.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/blt/tile/toplevel.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/blt/tree.rb b/ext/tk/lib/tkextlib/blt/tree.rb index 1a3563e..6c84ef7 100644 --- a/ext/tk/lib/tkextlib/blt/tree.rb +++ b/ext/tk/lib/tkextlib/blt/tree.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/blt/tree.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/blt/treeview.rb b/ext/tk/lib/tkextlib/blt/treeview.rb index 38d9041..2866ba3 100644 --- a/ext/tk/lib/tkextlib/blt/treeview.rb +++ b/ext/tk/lib/tkextlib/blt/treeview.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/blt/treeview.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/blt/unix_dnd.rb b/ext/tk/lib/tkextlib/blt/unix_dnd.rb index 8996f7c..3c0cd33 100644 --- a/ext/tk/lib/tkextlib/blt/unix_dnd.rb +++ b/ext/tk/lib/tkextlib/blt/unix_dnd.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/blt/unix_dnd.rb # diff --git a/ext/tk/lib/tkextlib/blt/vector.rb b/ext/tk/lib/tkextlib/blt/vector.rb index 742e901..a3ab7e6 100644 --- a/ext/tk/lib/tkextlib/blt/vector.rb +++ b/ext/tk/lib/tkextlib/blt/vector.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/blt/vector.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/blt/watch.rb b/ext/tk/lib/tkextlib/blt/watch.rb index 292623f..b88c81c 100644 --- a/ext/tk/lib/tkextlib/blt/watch.rb +++ b/ext/tk/lib/tkextlib/blt/watch.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/blt/watch.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/blt/win_printer.rb b/ext/tk/lib/tkextlib/blt/win_printer.rb index 7ac6a0d..8d609ac 100644 --- a/ext/tk/lib/tkextlib/blt/win_printer.rb +++ b/ext/tk/lib/tkextlib/blt/win_printer.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/blt/win_printer.rb # diff --git a/ext/tk/lib/tkextlib/blt/winop.rb b/ext/tk/lib/tkextlib/blt/winop.rb index 03bdb60..38033e1 100644 --- a/ext/tk/lib/tkextlib/blt/winop.rb +++ b/ext/tk/lib/tkextlib/blt/winop.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/blt/winop.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/bwidget.rb b/ext/tk/lib/tkextlib/bwidget.rb index 7a1eff5..0fa9c77 100644 --- a/ext/tk/lib/tkextlib/bwidget.rb +++ b/ext/tk/lib/tkextlib/bwidget.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # BWidget extension support # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/bwidget/arrowbutton.rb b/ext/tk/lib/tkextlib/bwidget/arrowbutton.rb index 13fe9e5..a991245 100644 --- a/ext/tk/lib/tkextlib/bwidget/arrowbutton.rb +++ b/ext/tk/lib/tkextlib/bwidget/arrowbutton.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/bwidget/arrowbutton.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/bwidget/bitmap.rb b/ext/tk/lib/tkextlib/bwidget/bitmap.rb index 6cfde20..3acdfdf 100644 --- a/ext/tk/lib/tkextlib/bwidget/bitmap.rb +++ b/ext/tk/lib/tkextlib/bwidget/bitmap.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/bwidget/bitmap.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/bwidget/button.rb b/ext/tk/lib/tkextlib/bwidget/button.rb index e139fb6..ad880eb 100644 --- a/ext/tk/lib/tkextlib/bwidget/button.rb +++ b/ext/tk/lib/tkextlib/bwidget/button.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/bwidget/button.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/bwidget/buttonbox.rb b/ext/tk/lib/tkextlib/bwidget/buttonbox.rb index a6de33c..780a6a6 100644 --- a/ext/tk/lib/tkextlib/bwidget/buttonbox.rb +++ b/ext/tk/lib/tkextlib/bwidget/buttonbox.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/bwidget/buttonbox.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/bwidget/combobox.rb b/ext/tk/lib/tkextlib/bwidget/combobox.rb index 16143df..b3de318 100644 --- a/ext/tk/lib/tkextlib/bwidget/combobox.rb +++ b/ext/tk/lib/tkextlib/bwidget/combobox.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/bwidget/combobox.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/bwidget/dialog.rb b/ext/tk/lib/tkextlib/bwidget/dialog.rb index 3b0656f..ed929cb 100644 --- a/ext/tk/lib/tkextlib/bwidget/dialog.rb +++ b/ext/tk/lib/tkextlib/bwidget/dialog.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/bwidget/dialog.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/bwidget/dragsite.rb b/ext/tk/lib/tkextlib/bwidget/dragsite.rb index 4d4de17..6c7ea44 100644 --- a/ext/tk/lib/tkextlib/bwidget/dragsite.rb +++ b/ext/tk/lib/tkextlib/bwidget/dragsite.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/bwidget/dragsite.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/bwidget/dropsite.rb b/ext/tk/lib/tkextlib/bwidget/dropsite.rb index e5e98fb..e5eb7f4 100644 --- a/ext/tk/lib/tkextlib/bwidget/dropsite.rb +++ b/ext/tk/lib/tkextlib/bwidget/dropsite.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/bwidget/dropsite.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/bwidget/dynamichelp.rb b/ext/tk/lib/tkextlib/bwidget/dynamichelp.rb index 846e580..7e7538f 100644 --- a/ext/tk/lib/tkextlib/bwidget/dynamichelp.rb +++ b/ext/tk/lib/tkextlib/bwidget/dynamichelp.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/bwidget/dynamichelp.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/bwidget/entry.rb b/ext/tk/lib/tkextlib/bwidget/entry.rb index 8dc4496..bfbe2f1 100644 --- a/ext/tk/lib/tkextlib/bwidget/entry.rb +++ b/ext/tk/lib/tkextlib/bwidget/entry.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/bwidget/entry.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/bwidget/label.rb b/ext/tk/lib/tkextlib/bwidget/label.rb index e8d9352..9a0b73d 100644 --- a/ext/tk/lib/tkextlib/bwidget/label.rb +++ b/ext/tk/lib/tkextlib/bwidget/label.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/bwidget/label.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/bwidget/labelentry.rb b/ext/tk/lib/tkextlib/bwidget/labelentry.rb index 16e7b46..501f951 100644 --- a/ext/tk/lib/tkextlib/bwidget/labelentry.rb +++ b/ext/tk/lib/tkextlib/bwidget/labelentry.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/bwidget/labelentry.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/bwidget/labelframe.rb b/ext/tk/lib/tkextlib/bwidget/labelframe.rb index 0710f21..21c529c 100644 --- a/ext/tk/lib/tkextlib/bwidget/labelframe.rb +++ b/ext/tk/lib/tkextlib/bwidget/labelframe.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/bwidget/labelframe.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/bwidget/listbox.rb b/ext/tk/lib/tkextlib/bwidget/listbox.rb index 930491c..394c379 100644 --- a/ext/tk/lib/tkextlib/bwidget/listbox.rb +++ b/ext/tk/lib/tkextlib/bwidget/listbox.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/bwidget/listbox.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/bwidget/mainframe.rb b/ext/tk/lib/tkextlib/bwidget/mainframe.rb index 92253bd..ad09743 100644 --- a/ext/tk/lib/tkextlib/bwidget/mainframe.rb +++ b/ext/tk/lib/tkextlib/bwidget/mainframe.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/bwidget/mainframe.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/bwidget/messagedlg.rb b/ext/tk/lib/tkextlib/bwidget/messagedlg.rb index 7b62614..6981936 100644 --- a/ext/tk/lib/tkextlib/bwidget/messagedlg.rb +++ b/ext/tk/lib/tkextlib/bwidget/messagedlg.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/bwidget/messagedlg.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/bwidget/notebook.rb b/ext/tk/lib/tkextlib/bwidget/notebook.rb index ed28bcd..05c8939 100644 --- a/ext/tk/lib/tkextlib/bwidget/notebook.rb +++ b/ext/tk/lib/tkextlib/bwidget/notebook.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/bwidget/notebook.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/bwidget/pagesmanager.rb b/ext/tk/lib/tkextlib/bwidget/pagesmanager.rb index 31bbf1f..ce18ee0 100644 --- a/ext/tk/lib/tkextlib/bwidget/pagesmanager.rb +++ b/ext/tk/lib/tkextlib/bwidget/pagesmanager.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/bwidget/pagesmanager.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/bwidget/panedwindow.rb b/ext/tk/lib/tkextlib/bwidget/panedwindow.rb index 54cf06c..560c563 100644 --- a/ext/tk/lib/tkextlib/bwidget/panedwindow.rb +++ b/ext/tk/lib/tkextlib/bwidget/panedwindow.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/bwidget/panedwindow.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/bwidget/panelframe.rb b/ext/tk/lib/tkextlib/bwidget/panelframe.rb index 1cbf914..0e32f4e 100644 --- a/ext/tk/lib/tkextlib/bwidget/panelframe.rb +++ b/ext/tk/lib/tkextlib/bwidget/panelframe.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/bwidget/panelframe.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/bwidget/passwddlg.rb b/ext/tk/lib/tkextlib/bwidget/passwddlg.rb index ea50c87..9fe6fc6 100644 --- a/ext/tk/lib/tkextlib/bwidget/passwddlg.rb +++ b/ext/tk/lib/tkextlib/bwidget/passwddlg.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/bwidget/passwddlg.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/bwidget/progressbar.rb b/ext/tk/lib/tkextlib/bwidget/progressbar.rb index 18eb673..f06ddc1 100644 --- a/ext/tk/lib/tkextlib/bwidget/progressbar.rb +++ b/ext/tk/lib/tkextlib/bwidget/progressbar.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/bwidget/progressbar.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/bwidget/progressdlg.rb b/ext/tk/lib/tkextlib/bwidget/progressdlg.rb index 0c0c454..e11a73e 100644 --- a/ext/tk/lib/tkextlib/bwidget/progressdlg.rb +++ b/ext/tk/lib/tkextlib/bwidget/progressdlg.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/bwidget/progressdlg.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/bwidget/scrollableframe.rb b/ext/tk/lib/tkextlib/bwidget/scrollableframe.rb index 5bd00d6..2b18474 100644 --- a/ext/tk/lib/tkextlib/bwidget/scrollableframe.rb +++ b/ext/tk/lib/tkextlib/bwidget/scrollableframe.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/bwidget/scrollableframe.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/bwidget/scrolledwindow.rb b/ext/tk/lib/tkextlib/bwidget/scrolledwindow.rb index ea5a18c..9bd5e87 100644 --- a/ext/tk/lib/tkextlib/bwidget/scrolledwindow.rb +++ b/ext/tk/lib/tkextlib/bwidget/scrolledwindow.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/bwidget/scrolledwindow.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/bwidget/scrollview.rb b/ext/tk/lib/tkextlib/bwidget/scrollview.rb index ab27bc9..d60fdca 100644 --- a/ext/tk/lib/tkextlib/bwidget/scrollview.rb +++ b/ext/tk/lib/tkextlib/bwidget/scrollview.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/bwidget/scrollview.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/bwidget/selectcolor.rb b/ext/tk/lib/tkextlib/bwidget/selectcolor.rb index 456175e..85809b6 100644 --- a/ext/tk/lib/tkextlib/bwidget/selectcolor.rb +++ b/ext/tk/lib/tkextlib/bwidget/selectcolor.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/bwidget/selectcolor.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/bwidget/selectfont.rb b/ext/tk/lib/tkextlib/bwidget/selectfont.rb index 23419cb..4f67a2e 100644 --- a/ext/tk/lib/tkextlib/bwidget/selectfont.rb +++ b/ext/tk/lib/tkextlib/bwidget/selectfont.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/bwidget/selectfont.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/bwidget/separator.rb b/ext/tk/lib/tkextlib/bwidget/separator.rb index 6d92321..786c41c 100644 --- a/ext/tk/lib/tkextlib/bwidget/separator.rb +++ b/ext/tk/lib/tkextlib/bwidget/separator.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/bwidget/separator.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/bwidget/setup.rb b/ext/tk/lib/tkextlib/bwidget/setup.rb index ee406c6..cc967dc 100644 --- a/ext/tk/lib/tkextlib/bwidget/setup.rb +++ b/ext/tk/lib/tkextlib/bwidget/setup.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # setup.rb -- setup script before calling TkPackage.require() # diff --git a/ext/tk/lib/tkextlib/bwidget/spinbox.rb b/ext/tk/lib/tkextlib/bwidget/spinbox.rb index 0a45b04..00fe33d 100644 --- a/ext/tk/lib/tkextlib/bwidget/spinbox.rb +++ b/ext/tk/lib/tkextlib/bwidget/spinbox.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/bwidget/entry.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/bwidget/statusbar.rb b/ext/tk/lib/tkextlib/bwidget/statusbar.rb index 5c5dd43..28fd6fa 100644 --- a/ext/tk/lib/tkextlib/bwidget/statusbar.rb +++ b/ext/tk/lib/tkextlib/bwidget/statusbar.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/bwidget/statusbar.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/bwidget/titleframe.rb b/ext/tk/lib/tkextlib/bwidget/titleframe.rb index 7187911..eca6223 100644 --- a/ext/tk/lib/tkextlib/bwidget/titleframe.rb +++ b/ext/tk/lib/tkextlib/bwidget/titleframe.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/bwidget/titleframe.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/bwidget/tree.rb b/ext/tk/lib/tkextlib/bwidget/tree.rb index 089c482..688ed5f 100644 --- a/ext/tk/lib/tkextlib/bwidget/tree.rb +++ b/ext/tk/lib/tkextlib/bwidget/tree.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/bwidget/tree.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/bwidget/widget.rb b/ext/tk/lib/tkextlib/bwidget/widget.rb index a93364b..ab08826 100644 --- a/ext/tk/lib/tkextlib/bwidget/widget.rb +++ b/ext/tk/lib/tkextlib/bwidget/widget.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/bwidget/widget.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/itcl.rb b/ext/tk/lib/tkextlib/itcl.rb index 1d6ecf0..3a67b3f 100644 --- a/ext/tk/lib/tkextlib/itcl.rb +++ b/ext/tk/lib/tkextlib/itcl.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # [incr Tcl] support # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/itcl/incr_tcl.rb b/ext/tk/lib/tkextlib/itcl/incr_tcl.rb index 8f6bb33..de1be12 100644 --- a/ext/tk/lib/tkextlib/itcl/incr_tcl.rb +++ b/ext/tk/lib/tkextlib/itcl/incr_tcl.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/itk/incr_tcl.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/itcl/setup.rb b/ext/tk/lib/tkextlib/itcl/setup.rb index 70b38e4..917b877 100644 --- a/ext/tk/lib/tkextlib/itcl/setup.rb +++ b/ext/tk/lib/tkextlib/itcl/setup.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # setup.rb -- setup script before calling TkPackage.require() # diff --git a/ext/tk/lib/tkextlib/itk.rb b/ext/tk/lib/tkextlib/itk.rb index 7492bd3..112cb78 100644 --- a/ext/tk/lib/tkextlib/itk.rb +++ b/ext/tk/lib/tkextlib/itk.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # [incr Tk] support # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/itk/incr_tk.rb b/ext/tk/lib/tkextlib/itk/incr_tk.rb index 989585e..8c6fe13 100644 --- a/ext/tk/lib/tkextlib/itk/incr_tk.rb +++ b/ext/tk/lib/tkextlib/itk/incr_tk.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/itk/incr_tk.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/itk/setup.rb b/ext/tk/lib/tkextlib/itk/setup.rb index 544926e..f32d5d6 100644 --- a/ext/tk/lib/tkextlib/itk/setup.rb +++ b/ext/tk/lib/tkextlib/itk/setup.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # setup.rb -- setup script before calling TkPackage.require() # diff --git a/ext/tk/lib/tkextlib/iwidgets.rb b/ext/tk/lib/tkextlib/iwidgets.rb index ebd4cf7..2ebd9d9 100644 --- a/ext/tk/lib/tkextlib/iwidgets.rb +++ b/ext/tk/lib/tkextlib/iwidgets.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # [incr Widgets] support # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/buttonbox.rb b/ext/tk/lib/tkextlib/iwidgets/buttonbox.rb index 91e06d1..0357114 100644 --- a/ext/tk/lib/tkextlib/iwidgets/buttonbox.rb +++ b/ext/tk/lib/tkextlib/iwidgets/buttonbox.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/buttonbox.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/calendar.rb b/ext/tk/lib/tkextlib/iwidgets/calendar.rb index a5478c7..4cfb920 100644 --- a/ext/tk/lib/tkextlib/iwidgets/calendar.rb +++ b/ext/tk/lib/tkextlib/iwidgets/calendar.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/calendar.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/canvasprintbox.rb b/ext/tk/lib/tkextlib/iwidgets/canvasprintbox.rb index 398eec3..3fe489d 100644 --- a/ext/tk/lib/tkextlib/iwidgets/canvasprintbox.rb +++ b/ext/tk/lib/tkextlib/iwidgets/canvasprintbox.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/canvasprintbox.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/canvasprintdialog.rb b/ext/tk/lib/tkextlib/iwidgets/canvasprintdialog.rb index e64d815..4b5fdf5 100644 --- a/ext/tk/lib/tkextlib/iwidgets/canvasprintdialog.rb +++ b/ext/tk/lib/tkextlib/iwidgets/canvasprintdialog.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/canvasprintdialog.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/checkbox.rb b/ext/tk/lib/tkextlib/iwidgets/checkbox.rb index a7476c8..4589fe7 100644 --- a/ext/tk/lib/tkextlib/iwidgets/checkbox.rb +++ b/ext/tk/lib/tkextlib/iwidgets/checkbox.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/checkbox.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/combobox.rb b/ext/tk/lib/tkextlib/iwidgets/combobox.rb index 82dcf25..d4c05b5 100644 --- a/ext/tk/lib/tkextlib/iwidgets/combobox.rb +++ b/ext/tk/lib/tkextlib/iwidgets/combobox.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/combobox.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/dateentry.rb b/ext/tk/lib/tkextlib/iwidgets/dateentry.rb index 98a0051..e135b89 100644 --- a/ext/tk/lib/tkextlib/iwidgets/dateentry.rb +++ b/ext/tk/lib/tkextlib/iwidgets/dateentry.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/dateentry.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/datefield.rb b/ext/tk/lib/tkextlib/iwidgets/datefield.rb index 50d5405..35977e1 100644 --- a/ext/tk/lib/tkextlib/iwidgets/datefield.rb +++ b/ext/tk/lib/tkextlib/iwidgets/datefield.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/datefield.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/dialog.rb b/ext/tk/lib/tkextlib/iwidgets/dialog.rb index 2d554ca..edefba1 100644 --- a/ext/tk/lib/tkextlib/iwidgets/dialog.rb +++ b/ext/tk/lib/tkextlib/iwidgets/dialog.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/dialog.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/dialogshell.rb b/ext/tk/lib/tkextlib/iwidgets/dialogshell.rb index e880594..009fc61 100644 --- a/ext/tk/lib/tkextlib/iwidgets/dialogshell.rb +++ b/ext/tk/lib/tkextlib/iwidgets/dialogshell.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/dialogshell.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/disjointlistbox.rb b/ext/tk/lib/tkextlib/iwidgets/disjointlistbox.rb index 07ab025..3ae3f31 100644 --- a/ext/tk/lib/tkextlib/iwidgets/disjointlistbox.rb +++ b/ext/tk/lib/tkextlib/iwidgets/disjointlistbox.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/disjointlistbox.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/entryfield.rb b/ext/tk/lib/tkextlib/iwidgets/entryfield.rb index 3e7149a..75baca0 100644 --- a/ext/tk/lib/tkextlib/iwidgets/entryfield.rb +++ b/ext/tk/lib/tkextlib/iwidgets/entryfield.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/entryfield.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/extbutton.rb b/ext/tk/lib/tkextlib/iwidgets/extbutton.rb index e744fba..3c77c2e 100644 --- a/ext/tk/lib/tkextlib/iwidgets/extbutton.rb +++ b/ext/tk/lib/tkextlib/iwidgets/extbutton.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/extbutton.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/extfileselectionbox.rb b/ext/tk/lib/tkextlib/iwidgets/extfileselectionbox.rb index 2ff15bb..4581771 100644 --- a/ext/tk/lib/tkextlib/iwidgets/extfileselectionbox.rb +++ b/ext/tk/lib/tkextlib/iwidgets/extfileselectionbox.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/extfileselectionbox.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/extfileselectiondialog.rb b/ext/tk/lib/tkextlib/iwidgets/extfileselectiondialog.rb index 509fdcf..32a06cc 100644 --- a/ext/tk/lib/tkextlib/iwidgets/extfileselectiondialog.rb +++ b/ext/tk/lib/tkextlib/iwidgets/extfileselectiondialog.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/extfileselectiondialog.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/feedback.rb b/ext/tk/lib/tkextlib/iwidgets/feedback.rb index 29d04c8..e52d60e 100644 --- a/ext/tk/lib/tkextlib/iwidgets/feedback.rb +++ b/ext/tk/lib/tkextlib/iwidgets/feedback.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/feedback.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/fileselectionbox.rb b/ext/tk/lib/tkextlib/iwidgets/fileselectionbox.rb index a425b53..3811f2b 100644 --- a/ext/tk/lib/tkextlib/iwidgets/fileselectionbox.rb +++ b/ext/tk/lib/tkextlib/iwidgets/fileselectionbox.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/fileselectionbox.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/fileselectiondialog.rb b/ext/tk/lib/tkextlib/iwidgets/fileselectiondialog.rb index ebcdaf8..8d36848 100644 --- a/ext/tk/lib/tkextlib/iwidgets/fileselectiondialog.rb +++ b/ext/tk/lib/tkextlib/iwidgets/fileselectiondialog.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/fileselectiondialog.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/finddialog.rb b/ext/tk/lib/tkextlib/iwidgets/finddialog.rb index 3d522e0..ff0b587 100644 --- a/ext/tk/lib/tkextlib/iwidgets/finddialog.rb +++ b/ext/tk/lib/tkextlib/iwidgets/finddialog.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/finddialog.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/hierarchy.rb b/ext/tk/lib/tkextlib/iwidgets/hierarchy.rb index cb9301d..af99973 100644 --- a/ext/tk/lib/tkextlib/iwidgets/hierarchy.rb +++ b/ext/tk/lib/tkextlib/iwidgets/hierarchy.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/hierarchy.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/hyperhelp.rb b/ext/tk/lib/tkextlib/iwidgets/hyperhelp.rb index d4ea1aa..1650c7a 100644 --- a/ext/tk/lib/tkextlib/iwidgets/hyperhelp.rb +++ b/ext/tk/lib/tkextlib/iwidgets/hyperhelp.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/hyperhelp.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/labeledframe.rb b/ext/tk/lib/tkextlib/iwidgets/labeledframe.rb index 6595398..f4f3786 100644 --- a/ext/tk/lib/tkextlib/iwidgets/labeledframe.rb +++ b/ext/tk/lib/tkextlib/iwidgets/labeledframe.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/labeledframe.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/labeledwidget.rb b/ext/tk/lib/tkextlib/iwidgets/labeledwidget.rb index d36d428..fe3c031 100644 --- a/ext/tk/lib/tkextlib/iwidgets/labeledwidget.rb +++ b/ext/tk/lib/tkextlib/iwidgets/labeledwidget.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/labeledwidget.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/mainwindow.rb b/ext/tk/lib/tkextlib/iwidgets/mainwindow.rb index ebf4802..34c9eb5 100644 --- a/ext/tk/lib/tkextlib/iwidgets/mainwindow.rb +++ b/ext/tk/lib/tkextlib/iwidgets/mainwindow.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/mainwindow.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/menubar.rb b/ext/tk/lib/tkextlib/iwidgets/menubar.rb index f9a17d0..f729511 100644 --- a/ext/tk/lib/tkextlib/iwidgets/menubar.rb +++ b/ext/tk/lib/tkextlib/iwidgets/menubar.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/menubar.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/messagebox.rb b/ext/tk/lib/tkextlib/iwidgets/messagebox.rb index 6adb53d..a4c2822 100644 --- a/ext/tk/lib/tkextlib/iwidgets/messagebox.rb +++ b/ext/tk/lib/tkextlib/iwidgets/messagebox.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/messagebox.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/messagedialog.rb b/ext/tk/lib/tkextlib/iwidgets/messagedialog.rb index 9aa5900..2fb4533 100644 --- a/ext/tk/lib/tkextlib/iwidgets/messagedialog.rb +++ b/ext/tk/lib/tkextlib/iwidgets/messagedialog.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/messagedialog.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/notebook.rb b/ext/tk/lib/tkextlib/iwidgets/notebook.rb index 7ed4126..ad2a372 100644 --- a/ext/tk/lib/tkextlib/iwidgets/notebook.rb +++ b/ext/tk/lib/tkextlib/iwidgets/notebook.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/notebook.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/optionmenu.rb b/ext/tk/lib/tkextlib/iwidgets/optionmenu.rb index 57a3cc7..642db11 100644 --- a/ext/tk/lib/tkextlib/iwidgets/optionmenu.rb +++ b/ext/tk/lib/tkextlib/iwidgets/optionmenu.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/optionmenu.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/panedwindow.rb b/ext/tk/lib/tkextlib/iwidgets/panedwindow.rb index 65463cc..5f17bdd 100644 --- a/ext/tk/lib/tkextlib/iwidgets/panedwindow.rb +++ b/ext/tk/lib/tkextlib/iwidgets/panedwindow.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/panedwindow.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/promptdialog.rb b/ext/tk/lib/tkextlib/iwidgets/promptdialog.rb index 7c7ff7a..fc73a51 100644 --- a/ext/tk/lib/tkextlib/iwidgets/promptdialog.rb +++ b/ext/tk/lib/tkextlib/iwidgets/promptdialog.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/promptdialog.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/pushbutton.rb b/ext/tk/lib/tkextlib/iwidgets/pushbutton.rb index ae56788..cec3563 100644 --- a/ext/tk/lib/tkextlib/iwidgets/pushbutton.rb +++ b/ext/tk/lib/tkextlib/iwidgets/pushbutton.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/pushbutton.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/radiobox.rb b/ext/tk/lib/tkextlib/iwidgets/radiobox.rb index 2118177..1c9e9f8 100644 --- a/ext/tk/lib/tkextlib/iwidgets/radiobox.rb +++ b/ext/tk/lib/tkextlib/iwidgets/radiobox.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/radiobox.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/scopedobject.rb b/ext/tk/lib/tkextlib/iwidgets/scopedobject.rb index 056cd85..e17fee9 100644 --- a/ext/tk/lib/tkextlib/iwidgets/scopedobject.rb +++ b/ext/tk/lib/tkextlib/iwidgets/scopedobject.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/buttonbox.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/scrolledcanvas.rb b/ext/tk/lib/tkextlib/iwidgets/scrolledcanvas.rb index 4dea2f2..463689f 100644 --- a/ext/tk/lib/tkextlib/iwidgets/scrolledcanvas.rb +++ b/ext/tk/lib/tkextlib/iwidgets/scrolledcanvas.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/scrolledcanvas.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/scrolledframe.rb b/ext/tk/lib/tkextlib/iwidgets/scrolledframe.rb index 7b7b95d..f105576 100644 --- a/ext/tk/lib/tkextlib/iwidgets/scrolledframe.rb +++ b/ext/tk/lib/tkextlib/iwidgets/scrolledframe.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/scrolledframe.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/scrolledhtml.rb b/ext/tk/lib/tkextlib/iwidgets/scrolledhtml.rb index dc2966b..4ee5abe 100644 --- a/ext/tk/lib/tkextlib/iwidgets/scrolledhtml.rb +++ b/ext/tk/lib/tkextlib/iwidgets/scrolledhtml.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/scrolledhtml.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/scrolledlistbox.rb b/ext/tk/lib/tkextlib/iwidgets/scrolledlistbox.rb index 20a4cd1..94949c5 100644 --- a/ext/tk/lib/tkextlib/iwidgets/scrolledlistbox.rb +++ b/ext/tk/lib/tkextlib/iwidgets/scrolledlistbox.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/scrolledlistbox.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb b/ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb index 69b7d31..1e28989 100644 --- a/ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb +++ b/ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/scrolledtext.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/scrolledwidget.rb b/ext/tk/lib/tkextlib/iwidgets/scrolledwidget.rb index 5ecd2d7..a8b4e5a 100644 --- a/ext/tk/lib/tkextlib/iwidgets/scrolledwidget.rb +++ b/ext/tk/lib/tkextlib/iwidgets/scrolledwidget.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/scrolledwidget.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/selectionbox.rb b/ext/tk/lib/tkextlib/iwidgets/selectionbox.rb index eb8fe3a..333f68e 100644 --- a/ext/tk/lib/tkextlib/iwidgets/selectionbox.rb +++ b/ext/tk/lib/tkextlib/iwidgets/selectionbox.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/selectionbox.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/selectiondialog.rb b/ext/tk/lib/tkextlib/iwidgets/selectiondialog.rb index 45aecf3..0d0b94e 100644 --- a/ext/tk/lib/tkextlib/iwidgets/selectiondialog.rb +++ b/ext/tk/lib/tkextlib/iwidgets/selectiondialog.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/selectiondialog.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/setup.rb b/ext/tk/lib/tkextlib/iwidgets/setup.rb index ee406c6..cc967dc 100644 --- a/ext/tk/lib/tkextlib/iwidgets/setup.rb +++ b/ext/tk/lib/tkextlib/iwidgets/setup.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # setup.rb -- setup script before calling TkPackage.require() # diff --git a/ext/tk/lib/tkextlib/iwidgets/shell.rb b/ext/tk/lib/tkextlib/iwidgets/shell.rb index c560e3a..f09e7d4 100644 --- a/ext/tk/lib/tkextlib/iwidgets/shell.rb +++ b/ext/tk/lib/tkextlib/iwidgets/shell.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/shell.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/spindate.rb b/ext/tk/lib/tkextlib/iwidgets/spindate.rb index b3de9ed..8860348 100644 --- a/ext/tk/lib/tkextlib/iwidgets/spindate.rb +++ b/ext/tk/lib/tkextlib/iwidgets/spindate.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/spindate.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/spinint.rb b/ext/tk/lib/tkextlib/iwidgets/spinint.rb index bede3bb..85736d0 100644 --- a/ext/tk/lib/tkextlib/iwidgets/spinint.rb +++ b/ext/tk/lib/tkextlib/iwidgets/spinint.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/spinint.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/spinner.rb b/ext/tk/lib/tkextlib/iwidgets/spinner.rb index d960996..49968e8 100644 --- a/ext/tk/lib/tkextlib/iwidgets/spinner.rb +++ b/ext/tk/lib/tkextlib/iwidgets/spinner.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/spinner.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/spintime.rb b/ext/tk/lib/tkextlib/iwidgets/spintime.rb index 20f8197..9b280ec 100644 --- a/ext/tk/lib/tkextlib/iwidgets/spintime.rb +++ b/ext/tk/lib/tkextlib/iwidgets/spintime.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/spintime.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/tabnotebook.rb b/ext/tk/lib/tkextlib/iwidgets/tabnotebook.rb index f56efa9..89e3362 100644 --- a/ext/tk/lib/tkextlib/iwidgets/tabnotebook.rb +++ b/ext/tk/lib/tkextlib/iwidgets/tabnotebook.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/tabnotebook.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/tabset.rb b/ext/tk/lib/tkextlib/iwidgets/tabset.rb index 501ead4..816ea08 100644 --- a/ext/tk/lib/tkextlib/iwidgets/tabset.rb +++ b/ext/tk/lib/tkextlib/iwidgets/tabset.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/tabset.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/timeentry.rb b/ext/tk/lib/tkextlib/iwidgets/timeentry.rb index b0afb3a..d4078e6 100644 --- a/ext/tk/lib/tkextlib/iwidgets/timeentry.rb +++ b/ext/tk/lib/tkextlib/iwidgets/timeentry.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/timeentry.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/timefield.rb b/ext/tk/lib/tkextlib/iwidgets/timefield.rb index c34281d..d759a07 100644 --- a/ext/tk/lib/tkextlib/iwidgets/timefield.rb +++ b/ext/tk/lib/tkextlib/iwidgets/timefield.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/timefield.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/toolbar.rb b/ext/tk/lib/tkextlib/iwidgets/toolbar.rb index 5b474c3..7f2a54b 100644 --- a/ext/tk/lib/tkextlib/iwidgets/toolbar.rb +++ b/ext/tk/lib/tkextlib/iwidgets/toolbar.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/toolbar.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/iwidgets/watch.rb b/ext/tk/lib/tkextlib/iwidgets/watch.rb index f10ec54..c6e862b 100644 --- a/ext/tk/lib/tkextlib/iwidgets/watch.rb +++ b/ext/tk/lib/tkextlib/iwidgets/watch.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/iwidgets/watch.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/pkg_checker.rb b/ext/tk/lib/tkextlib/pkg_checker.rb index e2fd97b..76a25ca 100755 --- a/ext/tk/lib/tkextlib/pkg_checker.rb +++ b/ext/tk/lib/tkextlib/pkg_checker.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false # # Ruby/Tk extension library checker # diff --git a/ext/tk/lib/tkextlib/setup.rb b/ext/tk/lib/tkextlib/setup.rb index 79facc5..08ad32e 100644 --- a/ext/tk/lib/tkextlib/setup.rb +++ b/ext/tk/lib/tkextlib/setup.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # setup.rb -- setup script before using Tk extension libraries # diff --git a/ext/tk/lib/tkextlib/tcllib.rb b/ext/tk/lib/tkextlib/tcllib.rb index 2831989..75d250c 100644 --- a/ext/tk/lib/tkextlib/tcllib.rb +++ b/ext/tk/lib/tkextlib/tcllib.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tcllib extension support # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/autoscroll.rb b/ext/tk/lib/tkextlib/tcllib/autoscroll.rb index 2def59b..ae45b84 100644 --- a/ext/tk/lib/tkextlib/tcllib/autoscroll.rb +++ b/ext/tk/lib/tkextlib/tcllib/autoscroll.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/autoscroll.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/calendar.rb b/ext/tk/lib/tkextlib/tcllib/calendar.rb index b6843df..fa53603 100644 --- a/ext/tk/lib/tkextlib/tcllib/calendar.rb +++ b/ext/tk/lib/tkextlib/tcllib/calendar.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/calendar.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/canvas_sqmap.rb b/ext/tk/lib/tkextlib/tcllib/canvas_sqmap.rb index ba87cd3..f3d1847 100644 --- a/ext/tk/lib/tkextlib/tcllib/canvas_sqmap.rb +++ b/ext/tk/lib/tkextlib/tcllib/canvas_sqmap.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/canvas.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/canvas_zoom.rb b/ext/tk/lib/tkextlib/tcllib/canvas_zoom.rb index f4ffb48..bb8b04a 100644 --- a/ext/tk/lib/tkextlib/tcllib/canvas_zoom.rb +++ b/ext/tk/lib/tkextlib/tcllib/canvas_zoom.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/canvas.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/chatwidget.rb b/ext/tk/lib/tkextlib/tcllib/chatwidget.rb index ddb0340..34a8ca5 100644 --- a/ext/tk/lib/tkextlib/tcllib/chatwidget.rb +++ b/ext/tk/lib/tkextlib/tcllib/chatwidget.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/chatwidget.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/crosshair.rb b/ext/tk/lib/tkextlib/tcllib/crosshair.rb index 49b5361..74cc0a8 100644 --- a/ext/tk/lib/tkextlib/tcllib/crosshair.rb +++ b/ext/tk/lib/tkextlib/tcllib/crosshair.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/crosshair.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/ctext.rb b/ext/tk/lib/tkextlib/tcllib/ctext.rb index 308847c..1c61ec8 100644 --- a/ext/tk/lib/tkextlib/tcllib/ctext.rb +++ b/ext/tk/lib/tkextlib/tcllib/ctext.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/ctext.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/cursor.rb b/ext/tk/lib/tkextlib/tcllib/cursor.rb index 5c47f97..4c93cfc 100644 --- a/ext/tk/lib/tkextlib/tcllib/cursor.rb +++ b/ext/tk/lib/tkextlib/tcllib/cursor.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/cursor.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/dateentry.rb b/ext/tk/lib/tkextlib/tcllib/dateentry.rb index 77038d9..81b3851 100644 --- a/ext/tk/lib/tkextlib/tcllib/dateentry.rb +++ b/ext/tk/lib/tkextlib/tcllib/dateentry.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/dateentry.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/datefield.rb b/ext/tk/lib/tkextlib/tcllib/datefield.rb index 4c2eae7..ceed126 100644 --- a/ext/tk/lib/tkextlib/tcllib/datefield.rb +++ b/ext/tk/lib/tkextlib/tcllib/datefield.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/datefield.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/diagrams.rb b/ext/tk/lib/tkextlib/tcllib/diagrams.rb index d24ba9d..7fb7b3c 100644 --- a/ext/tk/lib/tkextlib/tcllib/diagrams.rb +++ b/ext/tk/lib/tkextlib/tcllib/diagrams.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/diagrams.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/dialog.rb b/ext/tk/lib/tkextlib/tcllib/dialog.rb index 86a0ef2..46fd06f 100644 --- a/ext/tk/lib/tkextlib/tcllib/dialog.rb +++ b/ext/tk/lib/tkextlib/tcllib/dialog.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/dialog.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/getstring.rb b/ext/tk/lib/tkextlib/tcllib/getstring.rb index 48711d3..72d9c5f 100644 --- a/ext/tk/lib/tkextlib/tcllib/getstring.rb +++ b/ext/tk/lib/tkextlib/tcllib/getstring.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/getstring.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/history.rb b/ext/tk/lib/tkextlib/tcllib/history.rb index a01a4eb..a1b9272 100644 --- a/ext/tk/lib/tkextlib/tcllib/history.rb +++ b/ext/tk/lib/tkextlib/tcllib/history.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/history.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/ico.rb b/ext/tk/lib/tkextlib/tcllib/ico.rb index 36a32c6..8814205 100644 --- a/ext/tk/lib/tkextlib/tcllib/ico.rb +++ b/ext/tk/lib/tkextlib/tcllib/ico.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/ico.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/ip_entry.rb b/ext/tk/lib/tkextlib/tcllib/ip_entry.rb index 4878cc3..6bbd844 100644 --- a/ext/tk/lib/tkextlib/tcllib/ip_entry.rb +++ b/ext/tk/lib/tkextlib/tcllib/ip_entry.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/ip_entry.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/khim.rb b/ext/tk/lib/tkextlib/tcllib/khim.rb index 5dc2130..e79f26b 100644 --- a/ext/tk/lib/tkextlib/tcllib/khim.rb +++ b/ext/tk/lib/tkextlib/tcllib/khim.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/khim.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/menuentry.rb b/ext/tk/lib/tkextlib/tcllib/menuentry.rb index f1eb2f2..5152149 100644 --- a/ext/tk/lib/tkextlib/tcllib/menuentry.rb +++ b/ext/tk/lib/tkextlib/tcllib/menuentry.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/menuentry.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/ntext.rb b/ext/tk/lib/tkextlib/tcllib/ntext.rb index 7888ed4..2d0c208 100644 --- a/ext/tk/lib/tkextlib/tcllib/ntext.rb +++ b/ext/tk/lib/tkextlib/tcllib/ntext.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/ntext.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/panelframe.rb b/ext/tk/lib/tkextlib/tcllib/panelframe.rb index 020c51c..678d5d0 100644 --- a/ext/tk/lib/tkextlib/tcllib/panelframe.rb +++ b/ext/tk/lib/tkextlib/tcllib/panelframe.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/panelframe.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/plotchart.rb b/ext/tk/lib/tkextlib/tcllib/plotchart.rb index a1ebe86..1817f9a 100644 --- a/ext/tk/lib/tkextlib/tcllib/plotchart.rb +++ b/ext/tk/lib/tkextlib/tcllib/plotchart.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/plotchart.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/ruler.rb b/ext/tk/lib/tkextlib/tcllib/ruler.rb index d22dafa..f57b0b0 100644 --- a/ext/tk/lib/tkextlib/tcllib/ruler.rb +++ b/ext/tk/lib/tkextlib/tcllib/ruler.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/ruler.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/screenruler.rb b/ext/tk/lib/tkextlib/tcllib/screenruler.rb index 75fa36b..64dd4f4 100644 --- a/ext/tk/lib/tkextlib/tcllib/screenruler.rb +++ b/ext/tk/lib/tkextlib/tcllib/screenruler.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/screenruler.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/scrolledwindow.rb b/ext/tk/lib/tkextlib/tcllib/scrolledwindow.rb index c9488b4..380d301 100644 --- a/ext/tk/lib/tkextlib/tcllib/scrolledwindow.rb +++ b/ext/tk/lib/tkextlib/tcllib/scrolledwindow.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/scrolledwindow.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/scrollwin.rb b/ext/tk/lib/tkextlib/tcllib/scrollwin.rb index c9f6062..f9bf127 100644 --- a/ext/tk/lib/tkextlib/tcllib/scrollwin.rb +++ b/ext/tk/lib/tkextlib/tcllib/scrollwin.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/scrollwin.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/setup.rb b/ext/tk/lib/tkextlib/tcllib/setup.rb index ee406c6..cc967dc 100644 --- a/ext/tk/lib/tkextlib/tcllib/setup.rb +++ b/ext/tk/lib/tkextlib/tcllib/setup.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # setup.rb -- setup script before calling TkPackage.require() # diff --git a/ext/tk/lib/tkextlib/tcllib/statusbar.rb b/ext/tk/lib/tkextlib/tcllib/statusbar.rb index 46a4b9d..b2c8f54 100644 --- a/ext/tk/lib/tkextlib/tcllib/statusbar.rb +++ b/ext/tk/lib/tkextlib/tcllib/statusbar.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/statusbar.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/style.rb b/ext/tk/lib/tkextlib/tcllib/style.rb index dac6916..f3b66b7 100644 --- a/ext/tk/lib/tkextlib/tcllib/style.rb +++ b/ext/tk/lib/tkextlib/tcllib/style.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/style.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/superframe.rb b/ext/tk/lib/tkextlib/tcllib/superframe.rb index adc9c4a..776ad7c 100644 --- a/ext/tk/lib/tkextlib/tcllib/superframe.rb +++ b/ext/tk/lib/tkextlib/tcllib/superframe.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/superframe.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/swaplist.rb b/ext/tk/lib/tkextlib/tcllib/swaplist.rb index 7698640..7eaed8d 100644 --- a/ext/tk/lib/tkextlib/tcllib/swaplist.rb +++ b/ext/tk/lib/tkextlib/tcllib/swaplist.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/swaplist.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/tablelist.rb b/ext/tk/lib/tkextlib/tcllib/tablelist.rb index bf5ab66..7cfe2fa 100644 --- a/ext/tk/lib/tkextlib/tcllib/tablelist.rb +++ b/ext/tk/lib/tkextlib/tcllib/tablelist.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/tablelist.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/tablelist_core.rb b/ext/tk/lib/tkextlib/tcllib/tablelist_core.rb index 2a5c415..b45f187 100644 --- a/ext/tk/lib/tkextlib/tcllib/tablelist_core.rb +++ b/ext/tk/lib/tkextlib/tcllib/tablelist_core.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/tablelist_core.rb # diff --git a/ext/tk/lib/tkextlib/tcllib/tablelist_tile.rb b/ext/tk/lib/tkextlib/tcllib/tablelist_tile.rb index 0a14584..20488fd 100644 --- a/ext/tk/lib/tkextlib/tcllib/tablelist_tile.rb +++ b/ext/tk/lib/tkextlib/tcllib/tablelist_tile.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/tablelist_tlie.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/tkpiechart.rb b/ext/tk/lib/tkextlib/tcllib/tkpiechart.rb index 2f6e4b4..2fc75a6 100644 --- a/ext/tk/lib/tkextlib/tcllib/tkpiechart.rb +++ b/ext/tk/lib/tkextlib/tcllib/tkpiechart.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/tkpiechart.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/toolbar.rb b/ext/tk/lib/tkextlib/tcllib/toolbar.rb index 6eae4eb..ae05a16 100644 --- a/ext/tk/lib/tkextlib/tcllib/toolbar.rb +++ b/ext/tk/lib/tkextlib/tcllib/toolbar.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/toolbar.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/tooltip.rb b/ext/tk/lib/tkextlib/tcllib/tooltip.rb index 070e63a..4a70ec5 100644 --- a/ext/tk/lib/tkextlib/tcllib/tooltip.rb +++ b/ext/tk/lib/tkextlib/tcllib/tooltip.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/tooltip.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/validator.rb b/ext/tk/lib/tkextlib/tcllib/validator.rb index 3a71960..c2c9dda 100644 --- a/ext/tk/lib/tkextlib/tcllib/validator.rb +++ b/ext/tk/lib/tkextlib/tcllib/validator.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/validator.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tcllib/widget.rb b/ext/tk/lib/tkextlib/tcllib/widget.rb index 57fdf7a..b8d5070 100644 --- a/ext/tk/lib/tkextlib/tcllib/widget.rb +++ b/ext/tk/lib/tkextlib/tcllib/widget.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tcllib/widget.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tclx.rb b/ext/tk/lib/tkextlib/tclx.rb index 3a4ff27..1189d85 100644 --- a/ext/tk/lib/tkextlib/tclx.rb +++ b/ext/tk/lib/tkextlib/tclx.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # TclX support # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tclx/setup.rb b/ext/tk/lib/tkextlib/tclx/setup.rb index ee406c6..cc967dc 100644 --- a/ext/tk/lib/tkextlib/tclx/setup.rb +++ b/ext/tk/lib/tkextlib/tclx/setup.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # setup.rb -- setup script before calling TkPackage.require() # diff --git a/ext/tk/lib/tkextlib/tclx/tclx.rb b/ext/tk/lib/tkextlib/tclx/tclx.rb index 5a908fc..7360a85 100644 --- a/ext/tk/lib/tkextlib/tclx/tclx.rb +++ b/ext/tk/lib/tkextlib/tclx/tclx.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tclx/tclx.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tile.rb b/ext/tk/lib/tkextlib/tile.rb index 6c11e21..ef15351 100644 --- a/ext/tk/lib/tkextlib/tile.rb +++ b/ext/tk/lib/tkextlib/tile.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # Tile theme engin (tile widget set) support # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tile/dialog.rb b/ext/tk/lib/tkextlib/tile/dialog.rb index b112e61..d81851b 100644 --- a/ext/tk/lib/tkextlib/tile/dialog.rb +++ b/ext/tk/lib/tkextlib/tile/dialog.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # ttk::dialog (tile-0.7+) # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tile/setup.rb b/ext/tk/lib/tkextlib/tile/setup.rb index ee406c6..cc967dc 100644 --- a/ext/tk/lib/tkextlib/tile/setup.rb +++ b/ext/tk/lib/tkextlib/tile/setup.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # setup.rb -- setup script before calling TkPackage.require() # diff --git a/ext/tk/lib/tkextlib/tile/sizegrip.rb b/ext/tk/lib/tkextlib/tile/sizegrip.rb index 9947e0d..4b9510a 100644 --- a/ext/tk/lib/tkextlib/tile/sizegrip.rb +++ b/ext/tk/lib/tkextlib/tile/sizegrip.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # ttk::sizegrip widget # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tile/style.rb b/ext/tk/lib/tkextlib/tile/style.rb index 83a0c9a..a96cba7 100644 --- a/ext/tk/lib/tkextlib/tile/style.rb +++ b/ext/tk/lib/tkextlib/tile/style.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # style commands # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tile/tbutton.rb b/ext/tk/lib/tkextlib/tile/tbutton.rb index c852024..217da62 100644 --- a/ext/tk/lib/tkextlib/tile/tbutton.rb +++ b/ext/tk/lib/tkextlib/tile/tbutton.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tbutton widget # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tile/tcheckbutton.rb b/ext/tk/lib/tkextlib/tile/tcheckbutton.rb index 01751ed..c0e4d4b 100644 --- a/ext/tk/lib/tkextlib/tile/tcheckbutton.rb +++ b/ext/tk/lib/tkextlib/tile/tcheckbutton.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tcheckbutton widget # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tile/tcombobox.rb b/ext/tk/lib/tkextlib/tile/tcombobox.rb index b5ab827..f2dec21 100644 --- a/ext/tk/lib/tkextlib/tile/tcombobox.rb +++ b/ext/tk/lib/tkextlib/tile/tcombobox.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tcombobox widget # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tile/tentry.rb b/ext/tk/lib/tkextlib/tile/tentry.rb index 8d2633a..5d577a6 100644 --- a/ext/tk/lib/tkextlib/tile/tentry.rb +++ b/ext/tk/lib/tkextlib/tile/tentry.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tentry widget # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tile/tframe.rb b/ext/tk/lib/tkextlib/tile/tframe.rb index d6d4312..5ebf19d 100644 --- a/ext/tk/lib/tkextlib/tile/tframe.rb +++ b/ext/tk/lib/tkextlib/tile/tframe.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tframe widget # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tile/tlabel.rb b/ext/tk/lib/tkextlib/tile/tlabel.rb index 55b98ac..3dddeaf 100644 --- a/ext/tk/lib/tkextlib/tile/tlabel.rb +++ b/ext/tk/lib/tkextlib/tile/tlabel.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tlabel widget # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tile/tlabelframe.rb b/ext/tk/lib/tkextlib/tile/tlabelframe.rb index a34c985..d512f31 100644 --- a/ext/tk/lib/tkextlib/tile/tlabelframe.rb +++ b/ext/tk/lib/tkextlib/tile/tlabelframe.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tlabelframe widget # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tile/tmenubutton.rb b/ext/tk/lib/tkextlib/tile/tmenubutton.rb index 1cf553e..a22ebae 100644 --- a/ext/tk/lib/tkextlib/tile/tmenubutton.rb +++ b/ext/tk/lib/tkextlib/tile/tmenubutton.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tmenubutton widget # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tile/tnotebook.rb b/ext/tk/lib/tkextlib/tile/tnotebook.rb index 9e27e2c..4089dcf 100644 --- a/ext/tk/lib/tkextlib/tile/tnotebook.rb +++ b/ext/tk/lib/tkextlib/tile/tnotebook.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tnotebook widget # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tile/tpaned.rb b/ext/tk/lib/tkextlib/tile/tpaned.rb index d6ad234..f51a1f3 100644 --- a/ext/tk/lib/tkextlib/tile/tpaned.rb +++ b/ext/tk/lib/tkextlib/tile/tpaned.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tpaned widget # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tile/tprogressbar.rb b/ext/tk/lib/tkextlib/tile/tprogressbar.rb index 0c9d15e..446e053 100644 --- a/ext/tk/lib/tkextlib/tile/tprogressbar.rb +++ b/ext/tk/lib/tkextlib/tile/tprogressbar.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tprogressbar widget # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tile/tradiobutton.rb b/ext/tk/lib/tkextlib/tile/tradiobutton.rb index 5dbf260..202de1e 100644 --- a/ext/tk/lib/tkextlib/tile/tradiobutton.rb +++ b/ext/tk/lib/tkextlib/tile/tradiobutton.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tradiobutton widget # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tile/treeview.rb b/ext/tk/lib/tkextlib/tile/treeview.rb index 85d7831..1be8f54 100644 --- a/ext/tk/lib/tkextlib/tile/treeview.rb +++ b/ext/tk/lib/tkextlib/tile/treeview.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # treeview widget # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tile/tscale.rb b/ext/tk/lib/tkextlib/tile/tscale.rb index 7eefcef..446344e 100644 --- a/ext/tk/lib/tkextlib/tile/tscale.rb +++ b/ext/tk/lib/tkextlib/tile/tscale.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tscale & tprogress widget # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tile/tscrollbar.rb b/ext/tk/lib/tkextlib/tile/tscrollbar.rb index c6bba58..621ca48 100644 --- a/ext/tk/lib/tkextlib/tile/tscrollbar.rb +++ b/ext/tk/lib/tkextlib/tile/tscrollbar.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tscrollbar widget # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tile/tseparator.rb b/ext/tk/lib/tkextlib/tile/tseparator.rb index ffd2f6f..d4a90e5 100644 --- a/ext/tk/lib/tkextlib/tile/tseparator.rb +++ b/ext/tk/lib/tkextlib/tile/tseparator.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tseparator widget # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tile/tspinbox.rb b/ext/tk/lib/tkextlib/tile/tspinbox.rb index 2f2d73c..47d822e 100644 --- a/ext/tk/lib/tkextlib/tile/tspinbox.rb +++ b/ext/tk/lib/tkextlib/tile/tspinbox.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # ttk::spinbox widget (Tcl/Tk 8.6b1 or later) # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tile/tsquare.rb b/ext/tk/lib/tkextlib/tile/tsquare.rb index a81cd7b..7412966 100644 --- a/ext/tk/lib/tkextlib/tile/tsquare.rb +++ b/ext/tk/lib/tkextlib/tile/tsquare.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tsquare widget # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tkDND.rb b/ext/tk/lib/tkextlib/tkDND.rb index 5d52e34..c76c48d 100644 --- a/ext/tk/lib/tkextlib/tkDND.rb +++ b/ext/tk/lib/tkextlib/tkDND.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # TkDND (Tk Drag & Drop Extension) support # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tkDND/setup.rb b/ext/tk/lib/tkextlib/tkDND/setup.rb index ee406c6..cc967dc 100644 --- a/ext/tk/lib/tkextlib/tkDND/setup.rb +++ b/ext/tk/lib/tkextlib/tkDND/setup.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # setup.rb -- setup script before calling TkPackage.require() # diff --git a/ext/tk/lib/tkextlib/tkDND/shape.rb b/ext/tk/lib/tkextlib/tkDND/shape.rb index d44068e..06d8d64 100644 --- a/ext/tk/lib/tkextlib/tkDND/shape.rb +++ b/ext/tk/lib/tkextlib/tkDND/shape.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tkDND/shape.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tkDND/tkdnd.rb b/ext/tk/lib/tkextlib/tkDND/tkdnd.rb index 38e05ce..c2059b7 100644 --- a/ext/tk/lib/tkextlib/tkDND/tkdnd.rb +++ b/ext/tk/lib/tkextlib/tkDND/tkdnd.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tkDND/tkdnd.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tkHTML.rb b/ext/tk/lib/tkextlib/tkHTML.rb index 5fddde7..d64e676 100644 --- a/ext/tk/lib/tkextlib/tkHTML.rb +++ b/ext/tk/lib/tkextlib/tkHTML.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # TkHtml support # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tkHTML/htmlwidget.rb b/ext/tk/lib/tkextlib/tkHTML/htmlwidget.rb index b9ee90a..362c381 100644 --- a/ext/tk/lib/tkextlib/tkHTML/htmlwidget.rb +++ b/ext/tk/lib/tkextlib/tkHTML/htmlwidget.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tkHTML/htmlwidget.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tkHTML/setup.rb b/ext/tk/lib/tkextlib/tkHTML/setup.rb index ee406c6..cc967dc 100644 --- a/ext/tk/lib/tkextlib/tkHTML/setup.rb +++ b/ext/tk/lib/tkextlib/tkHTML/setup.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # setup.rb -- setup script before calling TkPackage.require() # diff --git a/ext/tk/lib/tkextlib/tkimg.rb b/ext/tk/lib/tkextlib/tkimg.rb index c01359d..de4b721 100644 --- a/ext/tk/lib/tkextlib/tkimg.rb +++ b/ext/tk/lib/tkextlib/tkimg.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # TkImg extension support # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tkimg/bmp.rb b/ext/tk/lib/tkextlib/tkimg/bmp.rb index ea90181..48a3b7e 100644 --- a/ext/tk/lib/tkextlib/tkimg/bmp.rb +++ b/ext/tk/lib/tkextlib/tkimg/bmp.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # TkImg - format 'bmp' # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tkimg/dted.rb b/ext/tk/lib/tkextlib/tkimg/dted.rb index cae8336..30c595c 100644 --- a/ext/tk/lib/tkextlib/tkimg/dted.rb +++ b/ext/tk/lib/tkextlib/tkimg/dted.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # TkImg - format 'DTED' # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tkimg/gif.rb b/ext/tk/lib/tkextlib/tkimg/gif.rb index d542d47..ce5f3e9 100644 --- a/ext/tk/lib/tkextlib/tkimg/gif.rb +++ b/ext/tk/lib/tkextlib/tkimg/gif.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # TkImg - format 'gif' # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tkimg/ico.rb b/ext/tk/lib/tkextlib/tkimg/ico.rb index e79bdf4..8065600 100644 --- a/ext/tk/lib/tkextlib/tkimg/ico.rb +++ b/ext/tk/lib/tkextlib/tkimg/ico.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # TkImg - format 'ico' # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tkimg/jpeg.rb b/ext/tk/lib/tkextlib/tkimg/jpeg.rb index 2126120..24e11a8 100644 --- a/ext/tk/lib/tkextlib/tkimg/jpeg.rb +++ b/ext/tk/lib/tkextlib/tkimg/jpeg.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # TkImg - format 'jpeg' # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tkimg/pcx.rb b/ext/tk/lib/tkextlib/tkimg/pcx.rb index 6831f4d..942d585 100644 --- a/ext/tk/lib/tkextlib/tkimg/pcx.rb +++ b/ext/tk/lib/tkextlib/tkimg/pcx.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # TkImg - format 'pcx' # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)# diff --git a/ext/tk/lib/tkextlib/tkimg/pixmap.rb b/ext/tk/lib/tkextlib/tkimg/pixmap.rb index bd1b870..b90468a 100644 --- a/ext/tk/lib/tkextlib/tkimg/pixmap.rb +++ b/ext/tk/lib/tkextlib/tkimg/pixmap.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # TkImg - format 'pixmap' # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tkimg/png.rb b/ext/tk/lib/tkextlib/tkimg/png.rb index 5c829f4..76f7329 100644 --- a/ext/tk/lib/tkextlib/tkimg/png.rb +++ b/ext/tk/lib/tkextlib/tkimg/png.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # TkImg - format 'png' # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tkimg/ppm.rb b/ext/tk/lib/tkextlib/tkimg/ppm.rb index eacfae4..a6b705e 100644 --- a/ext/tk/lib/tkextlib/tkimg/ppm.rb +++ b/ext/tk/lib/tkextlib/tkimg/ppm.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # TkImg - format 'ppm' # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tkimg/ps.rb b/ext/tk/lib/tkextlib/tkimg/ps.rb index 68e9178..2a450ed 100644 --- a/ext/tk/lib/tkextlib/tkimg/ps.rb +++ b/ext/tk/lib/tkextlib/tkimg/ps.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # TkImg - format 'ps' # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tkimg/raw.rb b/ext/tk/lib/tkextlib/tkimg/raw.rb index 5f1cdca..2eddbbc 100644 --- a/ext/tk/lib/tkextlib/tkimg/raw.rb +++ b/ext/tk/lib/tkextlib/tkimg/raw.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # TkImg - format 'Raw Data' # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tkimg/setup.rb b/ext/tk/lib/tkextlib/tkimg/setup.rb index ee406c6..cc967dc 100644 --- a/ext/tk/lib/tkextlib/tkimg/setup.rb +++ b/ext/tk/lib/tkextlib/tkimg/setup.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # setup.rb -- setup script before calling TkPackage.require() # diff --git a/ext/tk/lib/tkextlib/tkimg/sgi.rb b/ext/tk/lib/tkextlib/tkimg/sgi.rb index ec7038b..73a5bce 100644 --- a/ext/tk/lib/tkextlib/tkimg/sgi.rb +++ b/ext/tk/lib/tkextlib/tkimg/sgi.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # TkImg - format 'sgi' # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tkimg/sun.rb b/ext/tk/lib/tkextlib/tkimg/sun.rb index 651f946..bd1ac0e 100644 --- a/ext/tk/lib/tkextlib/tkimg/sun.rb +++ b/ext/tk/lib/tkextlib/tkimg/sun.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # TkImg - format 'sun' # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tkimg/tga.rb b/ext/tk/lib/tkextlib/tkimg/tga.rb index 1eae407..1dd499b 100644 --- a/ext/tk/lib/tkextlib/tkimg/tga.rb +++ b/ext/tk/lib/tkextlib/tkimg/tga.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # TkImg - format 'tga' # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tkimg/tiff.rb b/ext/tk/lib/tkextlib/tkimg/tiff.rb index ed271c2..a2d1d8f 100644 --- a/ext/tk/lib/tkextlib/tkimg/tiff.rb +++ b/ext/tk/lib/tkextlib/tkimg/tiff.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # TkImg - format 'tiff' # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tkimg/window.rb b/ext/tk/lib/tkextlib/tkimg/window.rb index 3b5906f..346f246 100644 --- a/ext/tk/lib/tkextlib/tkimg/window.rb +++ b/ext/tk/lib/tkextlib/tkimg/window.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # TkImg - format 'window' # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tkimg/xbm.rb b/ext/tk/lib/tkextlib/tkimg/xbm.rb index f4bea03..0a4deff 100644 --- a/ext/tk/lib/tkextlib/tkimg/xbm.rb +++ b/ext/tk/lib/tkextlib/tkimg/xbm.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # TkImg - format 'xbm' # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tkimg/xpm.rb b/ext/tk/lib/tkextlib/tkimg/xpm.rb index 5119c87..7708b9d 100644 --- a/ext/tk/lib/tkextlib/tkimg/xpm.rb +++ b/ext/tk/lib/tkextlib/tkimg/xpm.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # TkImg - format 'xpm' # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tktable.rb b/ext/tk/lib/tkextlib/tktable.rb index 385eb13..a957294 100644 --- a/ext/tk/lib/tkextlib/tktable.rb +++ b/ext/tk/lib/tkextlib/tktable.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # TkTable support # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tktable/setup.rb b/ext/tk/lib/tkextlib/tktable/setup.rb index ee406c6..cc967dc 100644 --- a/ext/tk/lib/tkextlib/tktable/setup.rb +++ b/ext/tk/lib/tkextlib/tktable/setup.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # setup.rb -- setup script before calling TkPackage.require() # diff --git a/ext/tk/lib/tkextlib/tktable/tktable.rb b/ext/tk/lib/tkextlib/tktable/tktable.rb index f707465..d8811a9 100644 --- a/ext/tk/lib/tkextlib/tktable/tktable.rb +++ b/ext/tk/lib/tkextlib/tktable/tktable.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/tktable/tktable.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tktrans.rb b/ext/tk/lib/tkextlib/tktrans.rb index c5de5be..031eeb9 100644 --- a/ext/tk/lib/tkextlib/tktrans.rb +++ b/ext/tk/lib/tkextlib/tktrans.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # TkTrans support (win32 only) # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/tktrans/setup.rb b/ext/tk/lib/tkextlib/tktrans/setup.rb index ee406c6..cc967dc 100644 --- a/ext/tk/lib/tkextlib/tktrans/setup.rb +++ b/ext/tk/lib/tkextlib/tktrans/setup.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # setup.rb -- setup script before calling TkPackage.require() # diff --git a/ext/tk/lib/tkextlib/tktrans/tktrans.rb b/ext/tk/lib/tkextlib/tktrans/tktrans.rb index e051c09..e6e0e3a 100644 --- a/ext/tk/lib/tkextlib/tktrans/tktrans.rb +++ b/ext/tk/lib/tkextlib/tktrans/tktrans.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # TkTrans support (win32 only) # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/treectrl.rb b/ext/tk/lib/tkextlib/treectrl.rb index 1944fb8..227d55f 100644 --- a/ext/tk/lib/tkextlib/treectrl.rb +++ b/ext/tk/lib/tkextlib/treectrl.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # TkTreeCtrl support # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/treectrl/setup.rb b/ext/tk/lib/tkextlib/treectrl/setup.rb index ee406c6..cc967dc 100644 --- a/ext/tk/lib/tkextlib/treectrl/setup.rb +++ b/ext/tk/lib/tkextlib/treectrl/setup.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # setup.rb -- setup script before calling TkPackage.require() # diff --git a/ext/tk/lib/tkextlib/treectrl/tktreectrl.rb b/ext/tk/lib/tkextlib/treectrl/tktreectrl.rb index 1879a53..dbd59f8 100644 --- a/ext/tk/lib/tkextlib/treectrl/tktreectrl.rb +++ b/ext/tk/lib/tkextlib/treectrl/tktreectrl.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/treectrl/tktreectrl.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/trofs.rb b/ext/tk/lib/tkextlib/trofs.rb index 5914e51..46581a3 100644 --- a/ext/tk/lib/tkextlib/trofs.rb +++ b/ext/tk/lib/tkextlib/trofs.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # trofs support # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/trofs/setup.rb b/ext/tk/lib/tkextlib/trofs/setup.rb index ee406c6..cc967dc 100644 --- a/ext/tk/lib/tkextlib/trofs/setup.rb +++ b/ext/tk/lib/tkextlib/trofs/setup.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # setup.rb -- setup script before calling TkPackage.require() # diff --git a/ext/tk/lib/tkextlib/trofs/trofs.rb b/ext/tk/lib/tkextlib/trofs/trofs.rb index 7a2606a..dc55ec2 100644 --- a/ext/tk/lib/tkextlib/trofs/trofs.rb +++ b/ext/tk/lib/tkextlib/trofs/trofs.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/trofs/trofs.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/version.rb b/ext/tk/lib/tkextlib/version.rb index 4bef78f..68c8ae3 100644 --- a/ext/tk/lib/tkextlib/version.rb +++ b/ext/tk/lib/tkextlib/version.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # release date of tkextlib # diff --git a/ext/tk/lib/tkextlib/vu.rb b/ext/tk/lib/tkextlib/vu.rb index d2234eb..145a0b5 100644 --- a/ext/tk/lib/tkextlib/vu.rb +++ b/ext/tk/lib/tkextlib/vu.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # The vu widget set support # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/vu/bargraph.rb b/ext/tk/lib/tkextlib/vu/bargraph.rb index b9fcf92..e1d58e9 100644 --- a/ext/tk/lib/tkextlib/vu/bargraph.rb +++ b/ext/tk/lib/tkextlib/vu/bargraph.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # ::vu::bargraph widget # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/vu/charts.rb b/ext/tk/lib/tkextlib/vu/charts.rb index 8569ac5..66d5cfd 100644 --- a/ext/tk/lib/tkextlib/vu/charts.rb +++ b/ext/tk/lib/tkextlib/vu/charts.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # charts -- Create and manipulate canvas Add-On Items # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/vu/dial.rb b/ext/tk/lib/tkextlib/vu/dial.rb index 4d04974..7eb5650 100644 --- a/ext/tk/lib/tkextlib/vu/dial.rb +++ b/ext/tk/lib/tkextlib/vu/dial.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # ::vu::dial widget # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/vu/pie.rb b/ext/tk/lib/tkextlib/vu/pie.rb index 6b0c485..fb9920c 100644 --- a/ext/tk/lib/tkextlib/vu/pie.rb +++ b/ext/tk/lib/tkextlib/vu/pie.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # ::vu::pie widget # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/vu/setup.rb b/ext/tk/lib/tkextlib/vu/setup.rb index ee406c6..cc967dc 100644 --- a/ext/tk/lib/tkextlib/vu/setup.rb +++ b/ext/tk/lib/tkextlib/vu/setup.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # setup.rb -- setup script before calling TkPackage.require() # diff --git a/ext/tk/lib/tkextlib/vu/spinbox.rb b/ext/tk/lib/tkextlib/vu/spinbox.rb index 7d6104f..082ebd1 100644 --- a/ext/tk/lib/tkextlib/vu/spinbox.rb +++ b/ext/tk/lib/tkextlib/vu/spinbox.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # ::vu::spinbox widget # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/winico.rb b/ext/tk/lib/tkextlib/winico.rb index ce7b8ea..996fc40 100644 --- a/ext/tk/lib/tkextlib/winico.rb +++ b/ext/tk/lib/tkextlib/winico.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # winico -- Windows Icon extension support # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkextlib/winico/setup.rb b/ext/tk/lib/tkextlib/winico/setup.rb index ee406c6..cc967dc 100644 --- a/ext/tk/lib/tkextlib/winico/setup.rb +++ b/ext/tk/lib/tkextlib/winico/setup.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # setup.rb -- setup script before calling TkPackage.require() # diff --git a/ext/tk/lib/tkextlib/winico/winico.rb b/ext/tk/lib/tkextlib/winico/winico.rb index 9160c29..dda0357 100644 --- a/ext/tk/lib/tkextlib/winico/winico.rb +++ b/ext/tk/lib/tkextlib/winico/winico.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkextlib/winico/winico.rb # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/lib/tkfont.rb b/ext/tk/lib/tkfont.rb index 38a9663..6036006 100644 --- a/ext/tk/lib/tkfont.rb +++ b/ext/tk/lib/tkfont.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkfont.rb - load tk/font.rb # diff --git a/ext/tk/lib/tkmacpkg.rb b/ext/tk/lib/tkmacpkg.rb index 35560e7..4f76c2f 100644 --- a/ext/tk/lib/tkmacpkg.rb +++ b/ext/tk/lib/tkmacpkg.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkmacpkg.rb - load tk/macpkg.rb # diff --git a/ext/tk/lib/tkmenubar.rb b/ext/tk/lib/tkmenubar.rb index 70214fd..43109e2 100644 --- a/ext/tk/lib/tkmenubar.rb +++ b/ext/tk/lib/tkmenubar.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkmenubar.rb - load tk/menubar.rb # diff --git a/ext/tk/lib/tkmngfocus.rb b/ext/tk/lib/tkmngfocus.rb index fe70950..43abd21 100644 --- a/ext/tk/lib/tkmngfocus.rb +++ b/ext/tk/lib/tkmngfocus.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkmngfocus.rb - load tk/mngfocus.rb # diff --git a/ext/tk/lib/tkpalette.rb b/ext/tk/lib/tkpalette.rb index 56b203b..f4e7321 100644 --- a/ext/tk/lib/tkpalette.rb +++ b/ext/tk/lib/tkpalette.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkpalette.rb - load tk/palette.rb # diff --git a/ext/tk/lib/tkscrollbox.rb b/ext/tk/lib/tkscrollbox.rb index 6093b2e..c316ce2 100644 --- a/ext/tk/lib/tkscrollbox.rb +++ b/ext/tk/lib/tkscrollbox.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkscrollbox.rb - load tk/scrollbox.rb # diff --git a/ext/tk/lib/tktext.rb b/ext/tk/lib/tktext.rb index 97ad62a..8ed41ac 100644 --- a/ext/tk/lib/tktext.rb +++ b/ext/tk/lib/tktext.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tktext.rb - load tk/text.rb # diff --git a/ext/tk/lib/tkvirtevent.rb b/ext/tk/lib/tkvirtevent.rb index f4fae19..4efa790 100644 --- a/ext/tk/lib/tkvirtevent.rb +++ b/ext/tk/lib/tkvirtevent.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkvirtevent.rb - load tk/virtevent.rb # diff --git a/ext/tk/lib/tkwinpkg.rb b/ext/tk/lib/tkwinpkg.rb index 83371c5..97c84f8 100644 --- a/ext/tk/lib/tkwinpkg.rb +++ b/ext/tk/lib/tkwinpkg.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkwinpkg.rb - load tk/winpkg.rb # diff --git a/ext/tk/old-extconf.rb b/ext/tk/old-extconf.rb index ebc83a0..a13fa4c 100644 --- a/ext/tk/old-extconf.rb +++ b/ext/tk/old-extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # extconf.rb for tcltklib require 'mkmf' diff --git a/ext/tk/sample/24hr_clock.rb b/ext/tk/sample/24hr_clock.rb index 29f84e0..3a030dd 100644 --- a/ext/tk/sample/24hr_clock.rb +++ b/ext/tk/sample/24hr_clock.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' diff --git a/ext/tk/sample/binding_sample.rb b/ext/tk/sample/binding_sample.rb index 3c2eb5e..a324a74 100644 --- a/ext/tk/sample/binding_sample.rb +++ b/ext/tk/sample/binding_sample.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' diff --git a/ext/tk/sample/bindtag_sample.rb b/ext/tk/sample/bindtag_sample.rb index b13364b..7b4ac16 100644 --- a/ext/tk/sample/bindtag_sample.rb +++ b/ext/tk/sample/bindtag_sample.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' TkLabel.new(:text=><<EOT, :justify=>:left).pack diff --git a/ext/tk/sample/binstr_usage.rb b/ext/tk/sample/binstr_usage.rb index fa81f98..92882b8 100644 --- a/ext/tk/sample/binstr_usage.rb +++ b/ext/tk/sample/binstr_usage.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require "tk" diff --git a/ext/tk/sample/btn_with_frame.rb b/ext/tk/sample/btn_with_frame.rb index d04c95a..43e120b 100644 --- a/ext/tk/sample/btn_with_frame.rb +++ b/ext/tk/sample/btn_with_frame.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'tk' class Button_with_Frame < TkButton diff --git a/ext/tk/sample/cd_timer.rb b/ext/tk/sample/cd_timer.rb index e2611fb..1efe8cd 100644 --- a/ext/tk/sample/cd_timer.rb +++ b/ext/tk/sample/cd_timer.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false # # countdown timer # usage: cd_timer min [, min ... ] diff --git a/ext/tk/sample/cmd_res_test.rb b/ext/tk/sample/cmd_res_test.rb index 8df2e61..52c5bc7 100644 --- a/ext/tk/sample/cmd_res_test.rb +++ b/ext/tk/sample/cmd_res_test.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'tk' TkOptionDB.readfile(File.expand_path('cmd_resource', File.dirname(__FILE__))) diff --git a/ext/tk/sample/demos-en/anilabel.rb b/ext/tk/sample/demos-en/anilabel.rb index ebd84ac..a48f4a1 100644 --- a/ext/tk/sample/demos-en/anilabel.rb +++ b/ext/tk/sample/demos-en/anilabel.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # animated label widget demo (called by 'widget') # diff --git a/ext/tk/sample/demos-en/aniwave.rb b/ext/tk/sample/demos-en/aniwave.rb index 57d5819..955f202 100644 --- a/ext/tk/sample/demos-en/aniwave.rb +++ b/ext/tk/sample/demos-en/aniwave.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # animated wave demo (called by 'widget') # diff --git a/ext/tk/sample/demos-en/arrow.rb b/ext/tk/sample/demos-en/arrow.rb index 452153d..4622966 100644 --- a/ext/tk/sample/demos-en/arrow.rb +++ b/ext/tk/sample/demos-en/arrow.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # arrow.rb # # This demonstration script creates a canvas widget that displays a diff --git a/ext/tk/sample/demos-en/bind.rb b/ext/tk/sample/demos-en/bind.rb index c291e47..38f2b46 100644 --- a/ext/tk/sample/demos-en/bind.rb +++ b/ext/tk/sample/demos-en/bind.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # bind.rb # # This demonstration script creates a text widget with bindings set diff --git a/ext/tk/sample/demos-en/bitmap.rb b/ext/tk/sample/demos-en/bitmap.rb index 858d067..bb7a13d 100644 --- a/ext/tk/sample/demos-en/bitmap.rb +++ b/ext/tk/sample/demos-en/bitmap.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # bitmap.rb # # This demonstration script creates a toplevel window that displays diff --git a/ext/tk/sample/demos-en/button.rb b/ext/tk/sample/demos-en/button.rb index f63a2f3..0033100 100644 --- a/ext/tk/sample/demos-en/button.rb +++ b/ext/tk/sample/demos-en/button.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # button.rb # # This demonstration script creates a toplevel window containing diff --git a/ext/tk/sample/demos-en/check.rb b/ext/tk/sample/demos-en/check.rb index bf0b734..3f3b07b 100644 --- a/ext/tk/sample/demos-en/check.rb +++ b/ext/tk/sample/demos-en/check.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # check.rb # # This demonstration script creates a toplevel window containing diff --git a/ext/tk/sample/demos-en/check2.rb b/ext/tk/sample/demos-en/check2.rb index 4f7b1f0..d68b864 100644 --- a/ext/tk/sample/demos-en/check2.rb +++ b/ext/tk/sample/demos-en/check2.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # checkbutton widget demo2 (called by 'widget') # diff --git a/ext/tk/sample/demos-en/clrpick.rb b/ext/tk/sample/demos-en/clrpick.rb index 6da28cb..081d11b 100644 --- a/ext/tk/sample/demos-en/clrpick.rb +++ b/ext/tk/sample/demos-en/clrpick.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # clrpick.rb # # This demonstration script prompts the user to select a color. diff --git a/ext/tk/sample/demos-en/colors.rb b/ext/tk/sample/demos-en/colors.rb index b0ef959..dca147b 100644 --- a/ext/tk/sample/demos-en/colors.rb +++ b/ext/tk/sample/demos-en/colors.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # colors.rb # # This demonstration script creates a listbox widget that displays diff --git a/ext/tk/sample/demos-en/combo.rb b/ext/tk/sample/demos-en/combo.rb index d776600..2f2dd5d 100644 --- a/ext/tk/sample/demos-en/combo.rb +++ b/ext/tk/sample/demos-en/combo.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # combo.rb -- # # This demonstration script creates several combobox widgets. diff --git a/ext/tk/sample/demos-en/cscroll.rb b/ext/tk/sample/demos-en/cscroll.rb index 40a3afc..eac615d 100644 --- a/ext/tk/sample/demos-en/cscroll.rb +++ b/ext/tk/sample/demos-en/cscroll.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # cscroll.rb # # This demonstration script creates a simple canvas that can be diff --git a/ext/tk/sample/demos-en/ctext.rb b/ext/tk/sample/demos-en/ctext.rb index e04cb28..dbd26d2 100644 --- a/ext/tk/sample/demos-en/ctext.rb +++ b/ext/tk/sample/demos-en/ctext.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # ctext.rb # # This demonstration script creates a canvas widget with a text diff --git a/ext/tk/sample/demos-en/dialog1.rb b/ext/tk/sample/demos-en/dialog1.rb index af476ec..3fd56a6 100644 --- a/ext/tk/sample/demos-en/dialog1.rb +++ b/ext/tk/sample/demos-en/dialog1.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # a dialog box with a local grab (called by 'widget') # diff --git a/ext/tk/sample/demos-en/dialog2.rb b/ext/tk/sample/demos-en/dialog2.rb index efc4b71..fed1408 100644 --- a/ext/tk/sample/demos-en/dialog2.rb +++ b/ext/tk/sample/demos-en/dialog2.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # a dialog box with a global grab (called by 'widget') # diff --git a/ext/tk/sample/demos-en/entry1.rb b/ext/tk/sample/demos-en/entry1.rb index fac0afc..d6b0af2 100644 --- a/ext/tk/sample/demos-en/entry1.rb +++ b/ext/tk/sample/demos-en/entry1.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # entry (no scrollbars) widget demo (called by 'widget') # diff --git a/ext/tk/sample/demos-en/entry2.rb b/ext/tk/sample/demos-en/entry2.rb index 05a6c83..460a0a0 100644 --- a/ext/tk/sample/demos-en/entry2.rb +++ b/ext/tk/sample/demos-en/entry2.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # entry2.rb # # This demonstration script is the same as the entry1.tcl script diff --git a/ext/tk/sample/demos-en/entry3.rb b/ext/tk/sample/demos-en/entry3.rb index d3bc629..6170fe1 100644 --- a/ext/tk/sample/demos-en/entry3.rb +++ b/ext/tk/sample/demos-en/entry3.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # entry3.rb -- # # This demonstration script creates several entry widgets whose diff --git a/ext/tk/sample/demos-en/filebox.rb b/ext/tk/sample/demos-en/filebox.rb index 0c284c1..2bdf0aa 100644 --- a/ext/tk/sample/demos-en/filebox.rb +++ b/ext/tk/sample/demos-en/filebox.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # filebox.rb # # This demonstration script prompts the user to select a file.# diff --git a/ext/tk/sample/demos-en/floor.rb b/ext/tk/sample/demos-en/floor.rb index eb8b23e..b22ccec 100644 --- a/ext/tk/sample/demos-en/floor.rb +++ b/ext/tk/sample/demos-en/floor.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # floor.rb # # This demonstration script creates a canvas widet that displays the diff --git a/ext/tk/sample/demos-en/floor2.rb b/ext/tk/sample/demos-en/floor2.rb index 3bfa89a..a95bfed 100644 --- a/ext/tk/sample/demos-en/floor2.rb +++ b/ext/tk/sample/demos-en/floor2.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false %# floor2.rb # # This demonstration script creates a canvas widet that displays the diff --git a/ext/tk/sample/demos-en/form.rb b/ext/tk/sample/demos-en/form.rb index abb3e0e..b6c6655 100644 --- a/ext/tk/sample/demos-en/form.rb +++ b/ext/tk/sample/demos-en/form.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # form widget demo (called by 'widget') # diff --git a/ext/tk/sample/demos-en/goldberg.rb b/ext/tk/sample/demos-en/goldberg.rb index d3956ef..555ad4a 100644 --- a/ext/tk/sample/demos-en/goldberg.rb +++ b/ext/tk/sample/demos-en/goldberg.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # Ruby/Tk Goldverg demo (called by 'widget') # diff --git a/ext/tk/sample/demos-en/hscale.rb b/ext/tk/sample/demos-en/hscale.rb index e660216..05a8f39 100644 --- a/ext/tk/sample/demos-en/hscale.rb +++ b/ext/tk/sample/demos-en/hscale.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require "tkcanvas" if defined?($hscale_demo) && $hscale_demo diff --git a/ext/tk/sample/demos-en/icon.rb b/ext/tk/sample/demos-en/icon.rb index bab40da..ab29a0c 100644 --- a/ext/tk/sample/demos-en/icon.rb +++ b/ext/tk/sample/demos-en/icon.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # icon.rb # # This demonstration script creates a toplevel window containing diff --git a/ext/tk/sample/demos-en/image1.rb b/ext/tk/sample/demos-en/image1.rb index 233cb96..c7c0989 100644 --- a/ext/tk/sample/demos-en/image1.rb +++ b/ext/tk/sample/demos-en/image1.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false ## image1.rb # # This demonstration script displays two image widgets. diff --git a/ext/tk/sample/demos-en/image2.rb b/ext/tk/sample/demos-en/image2.rb index 13098af..dfb993e 100644 --- a/ext/tk/sample/demos-en/image2.rb +++ b/ext/tk/sample/demos-en/image2.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # image2.rb # # This demonstration script creates a simple collection of widgets diff --git a/ext/tk/sample/demos-en/image3.rb b/ext/tk/sample/demos-en/image3.rb index edb6d23..2879cd4 100644 --- a/ext/tk/sample/demos-en/image3.rb +++ b/ext/tk/sample/demos-en/image3.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # image3.rb # # This demonstration script creates a simple collection of widgets diff --git a/ext/tk/sample/demos-en/items.rb b/ext/tk/sample/demos-en/items.rb index 01a4072..d6de1e5 100644 --- a/ext/tk/sample/demos-en/items.rb +++ b/ext/tk/sample/demos-en/items.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # items.rb # # This demonstration script creates a canvas that displays the diff --git a/ext/tk/sample/demos-en/knightstour.rb b/ext/tk/sample/demos-en/knightstour.rb index 6f96a5b..1ad82fc 100644 --- a/ext/tk/sample/demos-en/knightstour.rb +++ b/ext/tk/sample/demos-en/knightstour.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # Based on the widget demo of Tcl/Tk8.5.2 # The following is the original copyright text. #---------------------------------------------------------------------------- diff --git a/ext/tk/sample/demos-en/label.rb b/ext/tk/sample/demos-en/label.rb index 5be06ea..d9cfd92 100644 --- a/ext/tk/sample/demos-en/label.rb +++ b/ext/tk/sample/demos-en/label.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # label.rb # # This demonstration script creates a toplevel window containing diff --git a/ext/tk/sample/demos-en/labelframe.rb b/ext/tk/sample/demos-en/labelframe.rb index ad968bc..bd2d8f3 100644 --- a/ext/tk/sample/demos-en/labelframe.rb +++ b/ext/tk/sample/demos-en/labelframe.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # labelframe.rb # # This demonstration script creates a toplevel window containing diff --git a/ext/tk/sample/demos-en/mclist.rb b/ext/tk/sample/demos-en/mclist.rb index 17019bb..61ebff1 100644 --- a/ext/tk/sample/demos-en/mclist.rb +++ b/ext/tk/sample/demos-en/mclist.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # mclist.rb -- # # This demonstration script creates a toplevel window containing a Ttk diff --git a/ext/tk/sample/demos-en/menu.rb b/ext/tk/sample/demos-en/menu.rb index a458dbb..8b7a524 100644 --- a/ext/tk/sample/demos-en/menu.rb +++ b/ext/tk/sample/demos-en/menu.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # menus widget demo (called by 'widget') # diff --git a/ext/tk/sample/demos-en/menu84.rb b/ext/tk/sample/demos-en/menu84.rb index 4fc5396..e6e42cb 100644 --- a/ext/tk/sample/demos-en/menu84.rb +++ b/ext/tk/sample/demos-en/menu84.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # menus widget demo (called by 'widget') # diff --git a/ext/tk/sample/demos-en/menubu.rb b/ext/tk/sample/demos-en/menubu.rb index 6e28e81..9ff683d 100644 --- a/ext/tk/sample/demos-en/menubu.rb +++ b/ext/tk/sample/demos-en/menubu.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # menubutton.rb # # This demonstration script creates a window with a bunch of menus diff --git a/ext/tk/sample/demos-en/msgbox.rb b/ext/tk/sample/demos-en/msgbox.rb index d3d66bf..9a5ff51 100644 --- a/ext/tk/sample/demos-en/msgbox.rb +++ b/ext/tk/sample/demos-en/msgbox.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # msgbox.rb # # This demonstration script creates message boxes of various type diff --git a/ext/tk/sample/demos-en/msgbox2.rb b/ext/tk/sample/demos-en/msgbox2.rb index c227b59..0eb35c4 100644 --- a/ext/tk/sample/demos-en/msgbox2.rb +++ b/ext/tk/sample/demos-en/msgbox2.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # msgbox2.rb # # This demonstration script creates message boxes of various type diff --git a/ext/tk/sample/demos-en/paned1.rb b/ext/tk/sample/demos-en/paned1.rb index d3d66d1..c14562a 100644 --- a/ext/tk/sample/demos-en/paned1.rb +++ b/ext/tk/sample/demos-en/paned1.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # paned1.rb # # This demonstration script creates a toplevel window containing diff --git a/ext/tk/sample/demos-en/paned2.rb b/ext/tk/sample/demos-en/paned2.rb index 02293b0..0c62235 100644 --- a/ext/tk/sample/demos-en/paned2.rb +++ b/ext/tk/sample/demos-en/paned2.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # paned2.rb -- # # This demonstration script creates a toplevel window containing diff --git a/ext/tk/sample/demos-en/pendulum.rb b/ext/tk/sample/demos-en/pendulum.rb index 306ac94..833a310 100644 --- a/ext/tk/sample/demos-en/pendulum.rb +++ b/ext/tk/sample/demos-en/pendulum.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # This demonstration illustrates how Tcl/Tk can be used to construct # simulations of physical systems. diff --git a/ext/tk/sample/demos-en/plot.rb b/ext/tk/sample/demos-en/plot.rb index f70daa3..786695a 100644 --- a/ext/tk/sample/demos-en/plot.rb +++ b/ext/tk/sample/demos-en/plot.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # plot.rb # # This demonstration script creates a canvas widget showing a 2-D diff --git a/ext/tk/sample/demos-en/puzzle.rb b/ext/tk/sample/demos-en/puzzle.rb index f16414a..6cf502f 100644 --- a/ext/tk/sample/demos-en/puzzle.rb +++ b/ext/tk/sample/demos-en/puzzle.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # puzzle.rb # # This demonstration script creates a 15-puzzle game using a collection diff --git a/ext/tk/sample/demos-en/radio.rb b/ext/tk/sample/demos-en/radio.rb index bde3150..d6b3ffb 100644 --- a/ext/tk/sample/demos-en/radio.rb +++ b/ext/tk/sample/demos-en/radio.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # radio.rb # # This demonstration script creates a toplevel window containing diff --git a/ext/tk/sample/demos-en/radio2.rb b/ext/tk/sample/demos-en/radio2.rb index 72fc2c6..ece7cfd 100644 --- a/ext/tk/sample/demos-en/radio2.rb +++ b/ext/tk/sample/demos-en/radio2.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # radio2.rb # # This demonstration script creates a toplevel window containing diff --git a/ext/tk/sample/demos-en/radio3.rb b/ext/tk/sample/demos-en/radio3.rb index 8a147ed..d1629c8 100644 --- a/ext/tk/sample/demos-en/radio3.rb +++ b/ext/tk/sample/demos-en/radio3.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # radio3.rb # # This demonstration script creates a toplevel window containing diff --git a/ext/tk/sample/demos-en/ruler.rb b/ext/tk/sample/demos-en/ruler.rb index a977369..d9a2c03 100644 --- a/ext/tk/sample/demos-en/ruler.rb +++ b/ext/tk/sample/demos-en/ruler.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # ruler.rb # # This demonstration script creates a canvas widget that displays a ruler diff --git a/ext/tk/sample/demos-en/sayings.rb b/ext/tk/sample/demos-en/sayings.rb index a4dcf37..e7ddfe5 100644 --- a/ext/tk/sample/demos-en/sayings.rb +++ b/ext/tk/sample/demos-en/sayings.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # sayings.rb # # This demonstration script creates a listbox that can be scrolled diff --git a/ext/tk/sample/demos-en/search.rb b/ext/tk/sample/demos-en/search.rb index 7fb40d8..82c0d16 100644 --- a/ext/tk/sample/demos-en/search.rb +++ b/ext/tk/sample/demos-en/search.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # search.rb # # This demonstration script creates a collection of widgets that diff --git a/ext/tk/sample/demos-en/spin.rb b/ext/tk/sample/demos-en/spin.rb index d51b7e6..d3558d5 100644 --- a/ext/tk/sample/demos-en/spin.rb +++ b/ext/tk/sample/demos-en/spin.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # spin.rb -- # # This demonstration script creates several spinbox widgets. diff --git a/ext/tk/sample/demos-en/states.rb b/ext/tk/sample/demos-en/states.rb index a5c01a8..4eac742 100644 --- a/ext/tk/sample/demos-en/states.rb +++ b/ext/tk/sample/demos-en/states.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # states.rb # # This demonstration script creates a listbox widget that displays diff --git a/ext/tk/sample/demos-en/style.rb b/ext/tk/sample/demos-en/style.rb index 5c87773..a6fd6b3 100644 --- a/ext/tk/sample/demos-en/style.rb +++ b/ext/tk/sample/demos-en/style.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # style.rb # # This demonstration script creates a text widget that illustrates the diff --git a/ext/tk/sample/demos-en/text.rb b/ext/tk/sample/demos-en/text.rb index 2f72de7..c44be39 100644 --- a/ext/tk/sample/demos-en/text.rb +++ b/ext/tk/sample/demos-en/text.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # text.rb # # This demonstration script creates a text widget that describes diff --git a/ext/tk/sample/demos-en/textpeer.rb b/ext/tk/sample/demos-en/textpeer.rb index 20192fc..c3298e2 100644 --- a/ext/tk/sample/demos-en/textpeer.rb +++ b/ext/tk/sample/demos-en/textpeer.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # text widget peering demo (called by 'widget') # diff --git a/ext/tk/sample/demos-en/tkencoding.rb b/ext/tk/sample/demos-en/tkencoding.rb index 727491a..01a11ad 100644 --- a/ext/tk/sample/demos-en/tkencoding.rb +++ b/ext/tk/sample/demos-en/tkencoding.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # -*- ruby -*- # # tkencoding.rb diff --git a/ext/tk/sample/demos-en/toolbar.rb b/ext/tk/sample/demos-en/toolbar.rb index e7cbeb4..1914e6e 100644 --- a/ext/tk/sample/demos-en/toolbar.rb +++ b/ext/tk/sample/demos-en/toolbar.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # toolbar.rb -- # # This demonstration script creates a toolbar that can be torn off. diff --git a/ext/tk/sample/demos-en/tree.rb b/ext/tk/sample/demos-en/tree.rb index 69154ee..e3e5527 100644 --- a/ext/tk/sample/demos-en/tree.rb +++ b/ext/tk/sample/demos-en/tree.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # tree.rb -- # # This demonstration script creates a toplevel window containing a Ttk diff --git a/ext/tk/sample/demos-en/ttkbut.rb b/ext/tk/sample/demos-en/ttkbut.rb index a784efc..f2fcbcc 100644 --- a/ext/tk/sample/demos-en/ttkbut.rb +++ b/ext/tk/sample/demos-en/ttkbut.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # ttkbut.rb # # This demonstration script creates a toplevel window containing several diff --git a/ext/tk/sample/demos-en/ttkmenu.rb b/ext/tk/sample/demos-en/ttkmenu.rb index 9399568..f84c913 100644 --- a/ext/tk/sample/demos-en/ttkmenu.rb +++ b/ext/tk/sample/demos-en/ttkmenu.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # ttkmenu.rb -- # # This demonstration script creates a toplevel window containing several Ttk diff --git a/ext/tk/sample/demos-en/ttknote.rb b/ext/tk/sample/demos-en/ttknote.rb index bc0c7b3..7c56252 100644 --- a/ext/tk/sample/demos-en/ttknote.rb +++ b/ext/tk/sample/demos-en/ttknote.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # ttknote.rb -- # # This demonstration script creates a toplevel window containing a Ttk diff --git a/ext/tk/sample/demos-en/ttkpane.rb b/ext/tk/sample/demos-en/ttkpane.rb index 87c4ded..7eb4c29 100644 --- a/ext/tk/sample/demos-en/ttkpane.rb +++ b/ext/tk/sample/demos-en/ttkpane.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # ttkpane.rb -- # # This demonstration script creates a Ttk pane with some content. diff --git a/ext/tk/sample/demos-en/ttkprogress.rb b/ext/tk/sample/demos-en/ttkprogress.rb index c341a93..09bf398 100644 --- a/ext/tk/sample/demos-en/ttkprogress.rb +++ b/ext/tk/sample/demos-en/ttkprogress.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # ttkprogress.rb -- # # This demonstration script creates several progress bar widgets. diff --git a/ext/tk/sample/demos-en/twind.rb b/ext/tk/sample/demos-en/twind.rb index 60a345d..a709f0d 100644 --- a/ext/tk/sample/demos-en/twind.rb +++ b/ext/tk/sample/demos-en/twind.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # twind.rb # # This demonstration script creates a text widget with a bunch of diff --git a/ext/tk/sample/demos-en/twind2.rb b/ext/tk/sample/demos-en/twind2.rb index af7313d..4a59a2e 100644 --- a/ext/tk/sample/demos-en/twind2.rb +++ b/ext/tk/sample/demos-en/twind2.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # text (embedded windows) widget demo 2 (called by 'widget') # diff --git a/ext/tk/sample/demos-en/unicodeout.rb b/ext/tk/sample/demos-en/unicodeout.rb index ee7b5af..910dff3 100644 --- a/ext/tk/sample/demos-en/unicodeout.rb +++ b/ext/tk/sample/demos-en/unicodeout.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # unicodeout.rb -- # # This demonstration script shows how you can produce output (in label diff --git a/ext/tk/sample/demos-en/vscale.rb b/ext/tk/sample/demos-en/vscale.rb index b05ed12..2ce522f 100644 --- a/ext/tk/sample/demos-en/vscale.rb +++ b/ext/tk/sample/demos-en/vscale.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # vscale.rb # # This demonstration script shows an example with a vertical scale. diff --git a/ext/tk/sample/demos-jp/anilabel.rb b/ext/tk/sample/demos-jp/anilabel.rb index c882f43..ccad73f 100644 --- a/ext/tk/sample/demos-jp/anilabel.rb +++ b/ext/tk/sample/demos-jp/anilabel.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # animated label widget demo (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/aniwave.rb b/ext/tk/sample/demos-jp/aniwave.rb index 866316c..6973de7 100644 --- a/ext/tk/sample/demos-jp/aniwave.rb +++ b/ext/tk/sample/demos-jp/aniwave.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # animated wave demo (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/arrow.rb b/ext/tk/sample/demos-jp/arrow.rb index 2995f96..12ab4af 100644 --- a/ext/tk/sample/demos-jp/arrow.rb +++ b/ext/tk/sample/demos-jp/arrow.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # arrowhead widget demo (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/bind.rb b/ext/tk/sample/demos-jp/bind.rb index efba6e6..74ddf02 100644 --- a/ext/tk/sample/demos-jp/bind.rb +++ b/ext/tk/sample/demos-jp/bind.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # text (tag bindings) widget demo (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/bitmap.rb b/ext/tk/sample/demos-jp/bitmap.rb index d84e9a5..2cc9c28 100644 --- a/ext/tk/sample/demos-jp/bitmap.rb +++ b/ext/tk/sample/demos-jp/bitmap.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # bitmap widget demo (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/button.rb b/ext/tk/sample/demos-jp/button.rb index 301100b..204f5ea 100644 --- a/ext/tk/sample/demos-jp/button.rb +++ b/ext/tk/sample/demos-jp/button.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # button widget demo (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/check.rb b/ext/tk/sample/demos-jp/check.rb index 422e898..04a47c8 100644 --- a/ext/tk/sample/demos-jp/check.rb +++ b/ext/tk/sample/demos-jp/check.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # checkbutton widget demo (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/check2.rb b/ext/tk/sample/demos-jp/check2.rb index 558e588..609f683 100644 --- a/ext/tk/sample/demos-jp/check2.rb +++ b/ext/tk/sample/demos-jp/check2.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # checkbutton widget demo2 (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/clrpick.rb b/ext/tk/sample/demos-jp/clrpick.rb index df8c76a..31a3f25 100644 --- a/ext/tk/sample/demos-jp/clrpick.rb +++ b/ext/tk/sample/demos-jp/clrpick.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # widget demo prompts the user to select a color (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/colors.rb b/ext/tk/sample/demos-jp/colors.rb index 5e5f47c..c0145da 100644 --- a/ext/tk/sample/demos-jp/colors.rb +++ b/ext/tk/sample/demos-jp/colors.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # listbox widget demo 'colors' (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/combo.rb b/ext/tk/sample/demos-jp/combo.rb index 8bbe369..0f3e808 100644 --- a/ext/tk/sample/demos-jp/combo.rb +++ b/ext/tk/sample/demos-jp/combo.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # combo.rb -- # diff --git a/ext/tk/sample/demos-jp/cscroll.rb b/ext/tk/sample/demos-jp/cscroll.rb index e993326..6cce3d4 100644 --- a/ext/tk/sample/demos-jp/cscroll.rb +++ b/ext/tk/sample/demos-jp/cscroll.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # simple scrollable canvas widget demo (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/ctext.rb b/ext/tk/sample/demos-jp/ctext.rb index bb354c4..ce7de84 100644 --- a/ext/tk/sample/demos-jp/ctext.rb +++ b/ext/tk/sample/demos-jp/ctext.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # Canvas Text widget demo (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/dialog1.rb b/ext/tk/sample/demos-jp/dialog1.rb index e50c907..9d54f93 100644 --- a/ext/tk/sample/demos-jp/dialog1.rb +++ b/ext/tk/sample/demos-jp/dialog1.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # a dialog box with a local grab (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/dialog2.rb b/ext/tk/sample/demos-jp/dialog2.rb index 3e7d9619..c8506b6 100644 --- a/ext/tk/sample/demos-jp/dialog2.rb +++ b/ext/tk/sample/demos-jp/dialog2.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # a dialog box with a global grab (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/entry1.rb b/ext/tk/sample/demos-jp/entry1.rb index 9be677d..0fbbeb8 100644 --- a/ext/tk/sample/demos-jp/entry1.rb +++ b/ext/tk/sample/demos-jp/entry1.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # entry (no scrollbars) widget demo (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/entry2.rb b/ext/tk/sample/demos-jp/entry2.rb index 5476d24..294c824 100644 --- a/ext/tk/sample/demos-jp/entry2.rb +++ b/ext/tk/sample/demos-jp/entry2.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # entry (with scrollbars) widget demo (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/entry3.rb b/ext/tk/sample/demos-jp/entry3.rb index 59c698d..6f8ba94 100644 --- a/ext/tk/sample/demos-jp/entry3.rb +++ b/ext/tk/sample/demos-jp/entry3.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # entry3.rb -- # # This demonstration script creates several entry widgets whose diff --git a/ext/tk/sample/demos-jp/filebox.rb b/ext/tk/sample/demos-jp/filebox.rb index fc014bc..800dd5d 100644 --- a/ext/tk/sample/demos-jp/filebox.rb +++ b/ext/tk/sample/demos-jp/filebox.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # widget demo prompts the user to select a file (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/floor.rb b/ext/tk/sample/demos-jp/floor.rb index 5101a02..8a07903 100644 --- a/ext/tk/sample/demos-jp/floor.rb +++ b/ext/tk/sample/demos-jp/floor.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # floorDisplay widget demo (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/floor2.rb b/ext/tk/sample/demos-jp/floor2.rb index 7ca705c..7f294ce 100644 --- a/ext/tk/sample/demos-jp/floor2.rb +++ b/ext/tk/sample/demos-jp/floor2.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # floorDisplay widget demo 2 (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/form.rb b/ext/tk/sample/demos-jp/form.rb index 000fcb5..751852c 100644 --- a/ext/tk/sample/demos-jp/form.rb +++ b/ext/tk/sample/demos-jp/form.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # form widget demo (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/goldberg.rb b/ext/tk/sample/demos-jp/goldberg.rb index fc38d87..cc039b2 100644 --- a/ext/tk/sample/demos-jp/goldberg.rb +++ b/ext/tk/sample/demos-jp/goldberg.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # Ruby/Tk Goldverg demo (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/hscale.rb b/ext/tk/sample/demos-jp/hscale.rb index 2dfbf38..0607792 100644 --- a/ext/tk/sample/demos-jp/hscale.rb +++ b/ext/tk/sample/demos-jp/hscale.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false require "tkcanvas" if defined?($hscale_demo) && $hscale_deom diff --git a/ext/tk/sample/demos-jp/icon.rb b/ext/tk/sample/demos-jp/icon.rb index 6b9e1a5..7bf6d97 100644 --- a/ext/tk/sample/demos-jp/icon.rb +++ b/ext/tk/sample/demos-jp/icon.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # iconic button widget demo (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/image1.rb b/ext/tk/sample/demos-jp/image1.rb index 0c69b2a..e07f1d3 100644 --- a/ext/tk/sample/demos-jp/image1.rb +++ b/ext/tk/sample/demos-jp/image1.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # two image widgets demo (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/image2.rb b/ext/tk/sample/demos-jp/image2.rb index aa507c5..312ec41 100644 --- a/ext/tk/sample/demos-jp/image2.rb +++ b/ext/tk/sample/demos-jp/image2.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # widget demo 'load image' (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/image3.rb b/ext/tk/sample/demos-jp/image3.rb index 5c1ceb2..3f2b1ad 100644 --- a/ext/tk/sample/demos-jp/image3.rb +++ b/ext/tk/sample/demos-jp/image3.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # image3.rb # # This demonstration script creates a simple collection of widgets diff --git a/ext/tk/sample/demos-jp/items.rb b/ext/tk/sample/demos-jp/items.rb index b1d66f3..9fef0be 100644 --- a/ext/tk/sample/demos-jp/items.rb +++ b/ext/tk/sample/demos-jp/items.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # canvas item types widget demo (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/knightstour.rb b/ext/tk/sample/demos-jp/knightstour.rb index 835a24c..f4de10b 100644 --- a/ext/tk/sample/demos-jp/knightstour.rb +++ b/ext/tk/sample/demos-jp/knightstour.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # Based on the widget demo of Tcl/Tk8.5.2 # The following is the original copyright text. diff --git a/ext/tk/sample/demos-jp/label.rb b/ext/tk/sample/demos-jp/label.rb index 700e6a6..6164ac1 100644 --- a/ext/tk/sample/demos-jp/label.rb +++ b/ext/tk/sample/demos-jp/label.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # label widget demo (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/labelframe.rb b/ext/tk/sample/demos-jp/labelframe.rb index 80e106c..3dcd1dc 100644 --- a/ext/tk/sample/demos-jp/labelframe.rb +++ b/ext/tk/sample/demos-jp/labelframe.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # labelframe.rb # diff --git a/ext/tk/sample/demos-jp/mclist.rb b/ext/tk/sample/demos-jp/mclist.rb index 67cec63..e7b71ed 100644 --- a/ext/tk/sample/demos-jp/mclist.rb +++ b/ext/tk/sample/demos-jp/mclist.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # mclist.rb -- # diff --git a/ext/tk/sample/demos-jp/menu.rb b/ext/tk/sample/demos-jp/menu.rb index 05ea7a9..30e491d 100644 --- a/ext/tk/sample/demos-jp/menu.rb +++ b/ext/tk/sample/demos-jp/menu.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # menus widget demo (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/menu84.rb b/ext/tk/sample/demos-jp/menu84.rb index 6a57279..3fd879e 100644 --- a/ext/tk/sample/demos-jp/menu84.rb +++ b/ext/tk/sample/demos-jp/menu84.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # menus widget demo (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/menu8x.rb b/ext/tk/sample/demos-jp/menu8x.rb index 77ecb5b..a1acda4 100644 --- a/ext/tk/sample/demos-jp/menu8x.rb +++ b/ext/tk/sample/demos-jp/menu8x.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # menus widget demo (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/menubu.rb b/ext/tk/sample/demos-jp/menubu.rb index 06f9eb8..57b1d41 100644 --- a/ext/tk/sample/demos-jp/menubu.rb +++ b/ext/tk/sample/demos-jp/menubu.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false require "tkcanvas" def optionMenu(menubutton, varName, firstValue, *rest) diff --git a/ext/tk/sample/demos-jp/msgbox.rb b/ext/tk/sample/demos-jp/msgbox.rb index ec7b4f2..45d8b8e 100644 --- a/ext/tk/sample/demos-jp/msgbox.rb +++ b/ext/tk/sample/demos-jp/msgbox.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # message boxes widget demo (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/msgbox2.rb b/ext/tk/sample/demos-jp/msgbox2.rb index ad6d936..51a0ca9 100644 --- a/ext/tk/sample/demos-jp/msgbox2.rb +++ b/ext/tk/sample/demos-jp/msgbox2.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # message boxes widget demo (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/paned1.rb b/ext/tk/sample/demos-jp/paned1.rb index 53d2e71..96e419b 100644 --- a/ext/tk/sample/demos-jp/paned1.rb +++ b/ext/tk/sample/demos-jp/paned1.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # paned1.rb # diff --git a/ext/tk/sample/demos-jp/paned2.rb b/ext/tk/sample/demos-jp/paned2.rb index 65bd41c..11a02ab 100644 --- a/ext/tk/sample/demos-jp/paned2.rb +++ b/ext/tk/sample/demos-jp/paned2.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # paned2.rb -- # diff --git a/ext/tk/sample/demos-jp/pendulum.rb b/ext/tk/sample/demos-jp/pendulum.rb index 60556fd..06e6933 100644 --- a/ext/tk/sample/demos-jp/pendulum.rb +++ b/ext/tk/sample/demos-jp/pendulum.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # This demonstration illustrates how Tcl/Tk can be used to construct # simulations of physical systems. diff --git a/ext/tk/sample/demos-jp/plot.rb b/ext/tk/sample/demos-jp/plot.rb index 4147b35..85970bb 100644 --- a/ext/tk/sample/demos-jp/plot.rb +++ b/ext/tk/sample/demos-jp/plot.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # 2-D plot widget demo (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/puzzle.rb b/ext/tk/sample/demos-jp/puzzle.rb index dbcb423..61fb4cb 100644 --- a/ext/tk/sample/demos-jp/puzzle.rb +++ b/ext/tk/sample/demos-jp/puzzle.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # widet demo 'puzzle' (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/radio.rb b/ext/tk/sample/demos-jp/radio.rb index efb6135..4d84441 100644 --- a/ext/tk/sample/demos-jp/radio.rb +++ b/ext/tk/sample/demos-jp/radio.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # radiobutton widget demo (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/radio2.rb b/ext/tk/sample/demos-jp/radio2.rb index 0633a8d..4416122 100644 --- a/ext/tk/sample/demos-jp/radio2.rb +++ b/ext/tk/sample/demos-jp/radio2.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # radio2.rb # diff --git a/ext/tk/sample/demos-jp/radio3.rb b/ext/tk/sample/demos-jp/radio3.rb index 3356b69..3f26ffb 100644 --- a/ext/tk/sample/demos-jp/radio3.rb +++ b/ext/tk/sample/demos-jp/radio3.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # radio3.rb # diff --git a/ext/tk/sample/demos-jp/ruler.rb b/ext/tk/sample/demos-jp/ruler.rb index 5c34a5a..734f47f 100644 --- a/ext/tk/sample/demos-jp/ruler.rb +++ b/ext/tk/sample/demos-jp/ruler.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # ruler widget demo (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/sayings.rb b/ext/tk/sample/demos-jp/sayings.rb index cf4fe7b..a60b0bf 100644 --- a/ext/tk/sample/demos-jp/sayings.rb +++ b/ext/tk/sample/demos-jp/sayings.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # listbox widget demo 'sayings' (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/search.rb b/ext/tk/sample/demos-jp/search.rb index 238450a..dffccf1 100644 --- a/ext/tk/sample/demos-jp/search.rb +++ b/ext/tk/sample/demos-jp/search.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # Text Search widget demo (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/spin.rb b/ext/tk/sample/demos-jp/spin.rb index fd51a3f..616a14e 100644 --- a/ext/tk/sample/demos-jp/spin.rb +++ b/ext/tk/sample/demos-jp/spin.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # spin.rb -- # diff --git a/ext/tk/sample/demos-jp/states.rb b/ext/tk/sample/demos-jp/states.rb index 2966e6d..9f8fb0e 100644 --- a/ext/tk/sample/demos-jp/states.rb +++ b/ext/tk/sample/demos-jp/states.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # listbox widget demo 'states' (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/style.rb b/ext/tk/sample/demos-jp/style.rb index 813fde7..737c9f8 100644 --- a/ext/tk/sample/demos-jp/style.rb +++ b/ext/tk/sample/demos-jp/style.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # text (display styles) widget demo (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/text.rb b/ext/tk/sample/demos-jp/text.rb index e698a79..117f9f1 100644 --- a/ext/tk/sample/demos-jp/text.rb +++ b/ext/tk/sample/demos-jp/text.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # text (basic facilities) widget demo (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/textpeer.rb b/ext/tk/sample/demos-jp/textpeer.rb index 4d896d2..31e467a 100644 --- a/ext/tk/sample/demos-jp/textpeer.rb +++ b/ext/tk/sample/demos-jp/textpeer.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # text widget peering demo (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/toolbar.rb b/ext/tk/sample/demos-jp/toolbar.rb index 3ee7a5f..f355e8f 100644 --- a/ext/tk/sample/demos-jp/toolbar.rb +++ b/ext/tk/sample/demos-jp/toolbar.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # toolbar.rb -- # diff --git a/ext/tk/sample/demos-jp/tree.rb b/ext/tk/sample/demos-jp/tree.rb index 3f3b18b..48d5e54 100644 --- a/ext/tk/sample/demos-jp/tree.rb +++ b/ext/tk/sample/demos-jp/tree.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # tree.rb -- # diff --git a/ext/tk/sample/demos-jp/ttkbut.rb b/ext/tk/sample/demos-jp/ttkbut.rb index ccde541..af9321d 100644 --- a/ext/tk/sample/demos-jp/ttkbut.rb +++ b/ext/tk/sample/demos-jp/ttkbut.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # ttkbut.rb # diff --git a/ext/tk/sample/demos-jp/ttkmenu.rb b/ext/tk/sample/demos-jp/ttkmenu.rb index aa9db50..b521a3f 100644 --- a/ext/tk/sample/demos-jp/ttkmenu.rb +++ b/ext/tk/sample/demos-jp/ttkmenu.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # ttkmenu.rb -- # diff --git a/ext/tk/sample/demos-jp/ttknote.rb b/ext/tk/sample/demos-jp/ttknote.rb index f3b2fa5..2f82408 100644 --- a/ext/tk/sample/demos-jp/ttknote.rb +++ b/ext/tk/sample/demos-jp/ttknote.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # ttknote.rb -- # diff --git a/ext/tk/sample/demos-jp/ttkpane.rb b/ext/tk/sample/demos-jp/ttkpane.rb index a5c1a08..af76222 100644 --- a/ext/tk/sample/demos-jp/ttkpane.rb +++ b/ext/tk/sample/demos-jp/ttkpane.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # ttkpane.rb -- # diff --git a/ext/tk/sample/demos-jp/ttkprogress.rb b/ext/tk/sample/demos-jp/ttkprogress.rb index ec28253..6f0ea4c 100644 --- a/ext/tk/sample/demos-jp/ttkprogress.rb +++ b/ext/tk/sample/demos-jp/ttkprogress.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # ttkprogress.rb -- # diff --git a/ext/tk/sample/demos-jp/twind.rb b/ext/tk/sample/demos-jp/twind.rb index f13a137..7db7576 100644 --- a/ext/tk/sample/demos-jp/twind.rb +++ b/ext/tk/sample/demos-jp/twind.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # text (embedded windows) widget demo (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/twind2.rb b/ext/tk/sample/demos-jp/twind2.rb index a783ba4..c5bef5b 100644 --- a/ext/tk/sample/demos-jp/twind2.rb +++ b/ext/tk/sample/demos-jp/twind2.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # text (embedded windows) widget demo 2 (called by 'widget') # diff --git a/ext/tk/sample/demos-jp/unicodeout.rb b/ext/tk/sample/demos-jp/unicodeout.rb index 31596cf..966f85f 100644 --- a/ext/tk/sample/demos-jp/unicodeout.rb +++ b/ext/tk/sample/demos-jp/unicodeout.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false # # unicodeout.rb -- # diff --git a/ext/tk/sample/demos-jp/vscale.rb b/ext/tk/sample/demos-jp/vscale.rb index 6ae513b..a502634 100644 --- a/ext/tk/sample/demos-jp/vscale.rb +++ b/ext/tk/sample/demos-jp/vscale.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false require "tkcanvas" if defined?($vscale_demo) && $vscale_demo diff --git a/ext/tk/sample/editable_listbox.rb b/ext/tk/sample/editable_listbox.rb index 890aec0..02a3f4a 100644 --- a/ext/tk/sample/editable_listbox.rb +++ b/ext/tk/sample/editable_listbox.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # Tk::RbWidget::Editable_Listbox class # diff --git a/ext/tk/sample/encstr_usage.rb b/ext/tk/sample/encstr_usage.rb index 39dc9c4..49a29ec 100644 --- a/ext/tk/sample/encstr_usage.rb +++ b/ext/tk/sample/encstr_usage.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'tk' TkMessage.new(:width=>400, :text=><<EOM).pack diff --git a/ext/tk/sample/figmemo_sample.rb b/ext/tk/sample/figmemo_sample.rb index 740427f..4e5684f 100644 --- a/ext/tk/sample/figmemo_sample.rb +++ b/ext/tk/sample/figmemo_sample.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' begin diff --git a/ext/tk/sample/irbtk.rb b/ext/tk/sample/irbtk.rb index 70dd33e..8665b20 100644 --- a/ext/tk/sample/irbtk.rb +++ b/ext/tk/sample/irbtk.rb @@ -1,4 +1,5 @@ #!/usr/local/bin/ruby +# frozen_string_literal: false # # irbtk.rb - irb with Ruby/Tk # diff --git a/ext/tk/sample/menubar1.rb b/ext/tk/sample/menubar1.rb index a233c6e..1a935d5 100644 --- a/ext/tk/sample/menubar1.rb +++ b/ext/tk/sample/menubar1.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # menubar sample 1 : use frame and menubuttons # diff --git a/ext/tk/sample/menubar2.rb b/ext/tk/sample/menubar2.rb index e3cd68e..5930d27 100644 --- a/ext/tk/sample/menubar2.rb +++ b/ext/tk/sample/menubar2.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # menubar sample 2 : use 'menu' option of root/toplevel widget # diff --git a/ext/tk/sample/menubar3.rb b/ext/tk/sample/menubar3.rb index 4f42f81..ce70835 100644 --- a/ext/tk/sample/menubar3.rb +++ b/ext/tk/sample/menubar3.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # menubar sample 3 : vertical layout menubar; use frame and menubuttons # diff --git a/ext/tk/sample/multi-ip_sample.rb b/ext/tk/sample/multi-ip_sample.rb index eccf020..fb7a8af 100644 --- a/ext/tk/sample/multi-ip_sample.rb +++ b/ext/tk/sample/multi-ip_sample.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false # This script is a sample of MultiTkIp class require "multi-tk" diff --git a/ext/tk/sample/multi-ip_sample2.rb b/ext/tk/sample/multi-ip_sample2.rb index 79c78de..ae2cb35 100644 --- a/ext/tk/sample/multi-ip_sample2.rb +++ b/ext/tk/sample/multi-ip_sample2.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'multi-tk.rb' th = Thread.new{Tk.mainloop} diff --git a/ext/tk/sample/optobj_sample.rb b/ext/tk/sample/optobj_sample.rb index a781254..5e4806f 100644 --- a/ext/tk/sample/optobj_sample.rb +++ b/ext/tk/sample/optobj_sample.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false # # sample script of Tk::OptionObj # diff --git a/ext/tk/sample/propagate.rb b/ext/tk/sample/propagate.rb index 66f14ae..10e0ed8 100644 --- a/ext/tk/sample/propagate.rb +++ b/ext/tk/sample/propagate.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' TkLabel.new(:text=>"Please click the bottom frame").pack diff --git a/ext/tk/sample/remote-ip_sample.rb b/ext/tk/sample/remote-ip_sample.rb index f6eed9e..d80399f 100644 --- a/ext/tk/sample/remote-ip_sample.rb +++ b/ext/tk/sample/remote-ip_sample.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'remote-tk' puts <<EOM diff --git a/ext/tk/sample/remote-ip_sample2.rb b/ext/tk/sample/remote-ip_sample2.rb index d8cf3c7..919bfd0 100644 --- a/ext/tk/sample/remote-ip_sample2.rb +++ b/ext/tk/sample/remote-ip_sample2.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'remote-tk' diff --git a/ext/tk/sample/safe-tk.rb b/ext/tk/sample/safe-tk.rb index 652dbe7..a8a85d3 100755 --- a/ext/tk/sample/safe-tk.rb +++ b/ext/tk/sample/safe-tk.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false # This script is a sample of MultiTkIp class require "multi-tk" diff --git a/ext/tk/sample/scrollframe.rb b/ext/tk/sample/scrollframe.rb index e9d8af7..fda4478 100644 --- a/ext/tk/sample/scrollframe.rb +++ b/ext/tk/sample/scrollframe.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # Tk::RbWidget::ScrollFrame class # diff --git a/ext/tk/sample/tcltklib/lines1.rb b/ext/tk/sample/tcltklib/lines1.rb index 9f21ae6..57e3d33 100644 --- a/ext/tk/sample/tcltklib/lines1.rb +++ b/ext/tk/sample/tcltklib/lines1.rb @@ -1,4 +1,5 @@ #! /usr/local/bin/ruby +# frozen_string_literal: false require "tcltk" diff --git a/ext/tk/sample/tcltklib/lines2.rb b/ext/tk/sample/tcltklib/lines2.rb index e459589..7ae54d9 100644 --- a/ext/tk/sample/tcltklib/lines2.rb +++ b/ext/tk/sample/tcltklib/lines2.rb @@ -1,4 +1,5 @@ #! /usr/local/bin/ruby +# frozen_string_literal: false require "tk" diff --git a/ext/tk/sample/tcltklib/lines3.rb b/ext/tk/sample/tcltklib/lines3.rb index caa50f9..d79bb12 100644 --- a/ext/tk/sample/tcltklib/lines3.rb +++ b/ext/tk/sample/tcltklib/lines3.rb @@ -1,4 +1,5 @@ #! /usr/local/bin/ruby +# frozen_string_literal: false require "tk" diff --git a/ext/tk/sample/tcltklib/lines4.rb b/ext/tk/sample/tcltklib/lines4.rb index 7a1175b..37ffc0e 100644 --- a/ext/tk/sample/tcltklib/lines4.rb +++ b/ext/tk/sample/tcltklib/lines4.rb @@ -1,4 +1,5 @@ #! /usr/local/bin/ruby +# frozen_string_literal: false require "tk" diff --git a/ext/tk/sample/tcltklib/safeTk.rb b/ext/tk/sample/tcltklib/safeTk.rb index 5d2c60e..5fac9e2 100644 --- a/ext/tk/sample/tcltklib/safeTk.rb +++ b/ext/tk/sample/tcltklib/safeTk.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tcltklib' master = TclTkIp.new diff --git a/ext/tk/sample/tcltklib/sample0.rb b/ext/tk/sample/tcltklib/sample0.rb index 0ac303a..0cc2de4 100644 --- a/ext/tk/sample/tcltklib/sample0.rb +++ b/ext/tk/sample/tcltklib/sample0.rb @@ -1,4 +1,5 @@ #! /usr/local/bin/ruby -vd +# frozen_string_literal: false # tcltklib ライブラリのテスト diff --git a/ext/tk/sample/tcltklib/sample1.rb b/ext/tk/sample/tcltklib/sample1.rb index 3235edf..b4ad643 100644 --- a/ext/tk/sample/tcltklib/sample1.rb +++ b/ext/tk/sample/tcltklib/sample1.rb @@ -1,5 +1,6 @@ #! /usr/local/bin/ruby -d # -*- encoding: utf-8 -*- +# frozen_string_literal: false # -d オプションを付けると, デバッグ情報を表示する. # tcltk ライブラリのサンプル diff --git a/ext/tk/sample/tcltklib/sample2.rb b/ext/tk/sample/tcltklib/sample2.rb index 1acc180..378c2d3 100644 --- a/ext/tk/sample/tcltklib/sample2.rb +++ b/ext/tk/sample/tcltklib/sample2.rb @@ -1,4 +1,5 @@ #!/usr/local/bin/ruby +# frozen_string_literal: false #----------------------> pretty simple othello game <----------------------- # othello.rb # diff --git a/ext/tk/sample/tkalignbox.rb b/ext/tk/sample/tkalignbox.rb index f3d083c..89aae11 100644 --- a/ext/tk/sample/tkalignbox.rb +++ b/ext/tk/sample/tkalignbox.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkalignbox.rb : align widgets with same width/height # diff --git a/ext/tk/sample/tkballoonhelp.rb b/ext/tk/sample/tkballoonhelp.rb index 2daa522..fb81116 100644 --- a/ext/tk/sample/tkballoonhelp.rb +++ b/ext/tk/sample/tkballoonhelp.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkballoonhelp.rb : simple balloon help widget # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/sample/tkbiff.rb b/ext/tk/sample/tkbiff.rb index c0953a1..a65e4be 100644 --- a/ext/tk/sample/tkbiff.rb +++ b/ext/tk/sample/tkbiff.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false if ARGV[0] != '-d' unless $DEBUG diff --git a/ext/tk/sample/tkbrowse.rb b/ext/tk/sample/tkbrowse.rb index 56d5a80..f083a8a 100644 --- a/ext/tk/sample/tkbrowse.rb +++ b/ext/tk/sample/tkbrowse.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false # # This script generates a directory browser, which lists the working # directory and allows you to open files or subdirectories by diff --git a/ext/tk/sample/tkcombobox.rb b/ext/tk/sample/tkcombobox.rb index c38bde1..17adbc9 100644 --- a/ext/tk/sample/tkcombobox.rb +++ b/ext/tk/sample/tkcombobox.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkcombobox.rb : auto scrollbox & combobox # diff --git a/ext/tk/sample/tkdialog.rb b/ext/tk/sample/tkdialog.rb index eb8cd04..f0f7d2c 100644 --- a/ext/tk/sample/tkdialog.rb +++ b/ext/tk/sample/tkdialog.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require "tk" root = TkFrame.new diff --git a/ext/tk/sample/tkextlib/ICONS/viewIcons.rb b/ext/tk/sample/tkextlib/ICONS/viewIcons.rb index 02ba19a..7ed3c26 100644 --- a/ext/tk/sample/tkextlib/ICONS/viewIcons.rb +++ b/ext/tk/sample/tkextlib/ICONS/viewIcons.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false # # viewIcons.rb # diff --git a/ext/tk/sample/tkextlib/blt/barchart5.rb b/ext/tk/sample/tkextlib/blt/barchart5.rb index 86101b2..f818ffc 100644 --- a/ext/tk/sample/tkextlib/blt/barchart5.rb +++ b/ext/tk/sample/tkextlib/blt/barchart5.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/blt' diff --git a/ext/tk/sample/tkextlib/blt/calendar.rb b/ext/tk/sample/tkextlib/blt/calendar.rb index 86d3404..daae5fd 100644 --- a/ext/tk/sample/tkextlib/blt/calendar.rb +++ b/ext/tk/sample/tkextlib/blt/calendar.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/blt' diff --git a/ext/tk/sample/tkextlib/blt/graph6.rb b/ext/tk/sample/tkextlib/blt/graph6.rb index b3eeb81..26baa52 100644 --- a/ext/tk/sample/tkextlib/blt/graph6.rb +++ b/ext/tk/sample/tkextlib/blt/graph6.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/blt' diff --git a/ext/tk/sample/tkextlib/blt/graph7.rb b/ext/tk/sample/tkextlib/blt/graph7.rb index 8b31b28..0e68388 100644 --- a/ext/tk/sample/tkextlib/blt/graph7.rb +++ b/ext/tk/sample/tkextlib/blt/graph7.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/blt' diff --git a/ext/tk/sample/tkextlib/blt/graph7a.rb b/ext/tk/sample/tkextlib/blt/graph7a.rb index 8def766..aa744f1 100644 --- a/ext/tk/sample/tkextlib/blt/graph7a.rb +++ b/ext/tk/sample/tkextlib/blt/graph7a.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/blt' diff --git a/ext/tk/sample/tkextlib/blt/graph7b.rb b/ext/tk/sample/tkextlib/blt/graph7b.rb index 8b00f15..5b30c4b 100644 --- a/ext/tk/sample/tkextlib/blt/graph7b.rb +++ b/ext/tk/sample/tkextlib/blt/graph7b.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/blt' diff --git a/ext/tk/sample/tkextlib/blt/graph7c.rb b/ext/tk/sample/tkextlib/blt/graph7c.rb index d4ed1a6..8cbf322 100644 --- a/ext/tk/sample/tkextlib/blt/graph7c.rb +++ b/ext/tk/sample/tkextlib/blt/graph7c.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/blt' diff --git a/ext/tk/sample/tkextlib/blt/pareto.rb b/ext/tk/sample/tkextlib/blt/pareto.rb index bf9a1ec..987be45 100644 --- a/ext/tk/sample/tkextlib/blt/pareto.rb +++ b/ext/tk/sample/tkextlib/blt/pareto.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/blt' diff --git a/ext/tk/sample/tkextlib/blt/plot1.rb b/ext/tk/sample/tkextlib/blt/plot1.rb index 07dff48..95797c9 100644 --- a/ext/tk/sample/tkextlib/blt/plot1.rb +++ b/ext/tk/sample/tkextlib/blt/plot1.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/blt' diff --git a/ext/tk/sample/tkextlib/blt/plot1b.rb b/ext/tk/sample/tkextlib/blt/plot1b.rb index 8a3ce82..96adbd7 100644 --- a/ext/tk/sample/tkextlib/blt/plot1b.rb +++ b/ext/tk/sample/tkextlib/blt/plot1b.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/blt' diff --git a/ext/tk/sample/tkextlib/blt/scripts/stipples.rb b/ext/tk/sample/tkextlib/blt/scripts/stipples.rb index 47f3c4d0..2a4943e 100644 --- a/ext/tk/sample/tkextlib/blt/scripts/stipples.rb +++ b/ext/tk/sample/tkextlib/blt/scripts/stipples.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false $stipples = {} unless $stipples $stipples['bdiagonal1'] = Tk::BLT::Bitmap.new(<<EOD) diff --git a/ext/tk/sample/tkextlib/blt/winop1.rb b/ext/tk/sample/tkextlib/blt/winop1.rb index 97c31aa..32c01ca 100644 --- a/ext/tk/sample/tkextlib/blt/winop1.rb +++ b/ext/tk/sample/tkextlib/blt/winop1.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/blt' diff --git a/ext/tk/sample/tkextlib/blt/winop2.rb b/ext/tk/sample/tkextlib/blt/winop2.rb index d59c43b..cc70857 100644 --- a/ext/tk/sample/tkextlib/blt/winop2.rb +++ b/ext/tk/sample/tkextlib/blt/winop2.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/blt' diff --git a/ext/tk/sample/tkextlib/bwidget/basic.rb b/ext/tk/sample/tkextlib/bwidget/basic.rb index 060baf8..6a7bdbc 100644 --- a/ext/tk/sample/tkextlib/bwidget/basic.rb +++ b/ext/tk/sample/tkextlib/bwidget/basic.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # basic demo --- called from demo.rb # diff --git a/ext/tk/sample/tkextlib/bwidget/demo.rb b/ext/tk/sample/tkextlib/bwidget/demo.rb index 3eb9881..0b5578c 100644 --- a/ext/tk/sample/tkextlib/bwidget/demo.rb +++ b/ext/tk/sample/tkextlib/bwidget/demo.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/bwidget' diff --git a/ext/tk/sample/tkextlib/bwidget/dnd.rb b/ext/tk/sample/tkextlib/bwidget/dnd.rb index b1b1cf6..326288b 100644 --- a/ext/tk/sample/tkextlib/bwidget/dnd.rb +++ b/ext/tk/sample/tkextlib/bwidget/dnd.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # dnd demo --- called from demo.rb # diff --git a/ext/tk/sample/tkextlib/bwidget/manager.rb b/ext/tk/sample/tkextlib/bwidget/manager.rb index a59afb8..b037169 100644 --- a/ext/tk/sample/tkextlib/bwidget/manager.rb +++ b/ext/tk/sample/tkextlib/bwidget/manager.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # manager demo --- called from demo.rb # diff --git a/ext/tk/sample/tkextlib/bwidget/select.rb b/ext/tk/sample/tkextlib/bwidget/select.rb index 3a1a810..b32a69d 100644 --- a/ext/tk/sample/tkextlib/bwidget/select.rb +++ b/ext/tk/sample/tkextlib/bwidget/select.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # select demo --- called from demo.rb # diff --git a/ext/tk/sample/tkextlib/bwidget/tmpldlg.rb b/ext/tk/sample/tkextlib/bwidget/tmpldlg.rb index da2c967..1496cbc 100644 --- a/ext/tk/sample/tkextlib/bwidget/tmpldlg.rb +++ b/ext/tk/sample/tkextlib/bwidget/tmpldlg.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # templdlg demo --- called from demo.rb # diff --git a/ext/tk/sample/tkextlib/bwidget/tree.rb b/ext/tk/sample/tkextlib/bwidget/tree.rb index 9ef6569..fbccd0d 100644 --- a/ext/tk/sample/tkextlib/bwidget/tree.rb +++ b/ext/tk/sample/tkextlib/bwidget/tree.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # templdlg demo --- called from demo.rb # diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/buttonbox.rb b/ext/tk/sample/tkextlib/iwidgets/sample/buttonbox.rb index 2b7cd45..c64c3f0 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/buttonbox.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/buttonbox.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/calendar.rb b/ext/tk/sample/tkextlib/iwidgets/sample/calendar.rb index bb09b4d..4093997 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/calendar.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/calendar.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/canvasprintbox.rb b/ext/tk/sample/tkextlib/iwidgets/sample/canvasprintbox.rb index c7c0430..1680aae 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/canvasprintbox.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/canvasprintbox.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/canvasprintdialog.rb b/ext/tk/sample/tkextlib/iwidgets/sample/canvasprintdialog.rb index ea8d63e..1bedf2c 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/canvasprintdialog.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/canvasprintdialog.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/checkbox.rb b/ext/tk/sample/tkextlib/iwidgets/sample/checkbox.rb index bae0eba..bd0a21f 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/checkbox.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/checkbox.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/combobox.rb b/ext/tk/sample/tkextlib/iwidgets/sample/combobox.rb index 3684753..1ce2c90 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/combobox.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/combobox.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/dateentry.rb b/ext/tk/sample/tkextlib/iwidgets/sample/dateentry.rb index 5727879..873f702 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/dateentry.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/dateentry.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/datefield.rb b/ext/tk/sample/tkextlib/iwidgets/sample/datefield.rb index 12d4982..30c72a1 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/datefield.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/datefield.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/dialog.rb b/ext/tk/sample/tkextlib/iwidgets/sample/dialog.rb index 3449cd4..f9ceffb 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/dialog.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/dialog.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/dialogshell.rb b/ext/tk/sample/tkextlib/iwidgets/sample/dialogshell.rb index 00ee997..240768a 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/dialogshell.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/dialogshell.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/disjointlistbox.rb b/ext/tk/sample/tkextlib/iwidgets/sample/disjointlistbox.rb index 682c853..151a06f 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/disjointlistbox.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/disjointlistbox.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/entryfield-1.rb b/ext/tk/sample/tkextlib/iwidgets/sample/entryfield-1.rb index 8563a08..a063ddc 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/entryfield-1.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/entryfield-1.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false ######################################################### # # use Tk::UTF8_String() for a utf8 charecter diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/entryfield-2.rb b/ext/tk/sample/tkextlib/iwidgets/sample/entryfield-2.rb index d8ccdf8..fb7538b 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/entryfield-2.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/entryfield-2.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false ######################################################### # # set $KCODE to 'utf' for a utf8 charecter diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/entryfield-3.rb b/ext/tk/sample/tkextlib/iwidgets/sample/entryfield-3.rb index 327f908..dc84620 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/entryfield-3.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/entryfield-3.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false ######################################################### # # set Tk.encoding = 'utf-8' for a utf8 charecter diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/extbutton.rb b/ext/tk/sample/tkextlib/iwidgets/sample/extbutton.rb index 4944c72..fbacebc 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/extbutton.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/extbutton.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/extfileselectionbox.rb b/ext/tk/sample/tkextlib/iwidgets/sample/extfileselectionbox.rb index 63e4be2..2eb0c7a 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/extfileselectionbox.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/extfileselectionbox.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/extfileselectiondialog.rb b/ext/tk/sample/tkextlib/iwidgets/sample/extfileselectiondialog.rb index c1a9b3d..24a32da 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/extfileselectiondialog.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/extfileselectiondialog.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/feedback.rb b/ext/tk/sample/tkextlib/iwidgets/sample/feedback.rb index 7b87a02..27fe625 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/feedback.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/feedback.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/fileselectionbox.rb b/ext/tk/sample/tkextlib/iwidgets/sample/fileselectionbox.rb index 3a5b513..c87ee27 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/fileselectionbox.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/fileselectionbox.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/fileselectiondialog.rb b/ext/tk/sample/tkextlib/iwidgets/sample/fileselectiondialog.rb index ff22b2f..1585bd4 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/fileselectiondialog.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/fileselectiondialog.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/finddialog.rb b/ext/tk/sample/tkextlib/iwidgets/sample/finddialog.rb index 110efb9..a32a08f 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/finddialog.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/finddialog.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/hierarchy.rb b/ext/tk/sample/tkextlib/iwidgets/sample/hierarchy.rb index 085070e..bb65a66 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/hierarchy.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/hierarchy.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/hyperhelp.rb b/ext/tk/sample/tkextlib/iwidgets/sample/hyperhelp.rb index f9c92bf..dcda403 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/hyperhelp.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/hyperhelp.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/labeledframe.rb b/ext/tk/sample/tkextlib/iwidgets/sample/labeledframe.rb index 4e2e21e..52bf957 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/labeledframe.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/labeledframe.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/labeledwidget.rb b/ext/tk/sample/tkextlib/iwidgets/sample/labeledwidget.rb index 577550a..8b45d2b 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/labeledwidget.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/labeledwidget.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/mainwindow.rb b/ext/tk/sample/tkextlib/iwidgets/sample/mainwindow.rb index c9677f2..3e5e511 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/mainwindow.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/mainwindow.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/menubar.rb b/ext/tk/sample/tkextlib/iwidgets/sample/menubar.rb index e012752..389a622 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/menubar.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/menubar.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/menubar2.rb b/ext/tk/sample/tkextlib/iwidgets/sample/menubar2.rb index 477c916..c3fd8bc 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/menubar2.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/menubar2.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/messagebox1.rb b/ext/tk/sample/tkextlib/iwidgets/sample/messagebox1.rb index 87b2d38..8f51ab7 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/messagebox1.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/messagebox1.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/messagebox2.rb b/ext/tk/sample/tkextlib/iwidgets/sample/messagebox2.rb index 5278883..9bb15eb 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/messagebox2.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/messagebox2.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/messagedialog.rb b/ext/tk/sample/tkextlib/iwidgets/sample/messagedialog.rb index 52799f2..ca73ed5 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/messagedialog.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/messagedialog.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/notebook.rb b/ext/tk/sample/tkextlib/iwidgets/sample/notebook.rb index 4d460e8..4305db4 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/notebook.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/notebook.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/notebook2.rb b/ext/tk/sample/tkextlib/iwidgets/sample/notebook2.rb index 576a9c1..a3b00b2 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/notebook2.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/notebook2.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/optionmenu.rb b/ext/tk/sample/tkextlib/iwidgets/sample/optionmenu.rb index 2b921ff..2dc7eaf 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/optionmenu.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/optionmenu.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/panedwindow.rb b/ext/tk/sample/tkextlib/iwidgets/sample/panedwindow.rb index 88fc401..ba36319 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/panedwindow.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/panedwindow.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/panedwindow2.rb b/ext/tk/sample/tkextlib/iwidgets/sample/panedwindow2.rb index 96987d5..4abd5f4 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/panedwindow2.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/panedwindow2.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/promptdialog.rb b/ext/tk/sample/tkextlib/iwidgets/sample/promptdialog.rb index d92a26e..7f011f4 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/promptdialog.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/promptdialog.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/pushbutton.rb b/ext/tk/sample/tkextlib/iwidgets/sample/pushbutton.rb index e76dda8..5d3bdc7 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/pushbutton.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/pushbutton.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/radiobox.rb b/ext/tk/sample/tkextlib/iwidgets/sample/radiobox.rb index 9cd6a00..470ed8c 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/radiobox.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/radiobox.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/scrolledcanvas.rb b/ext/tk/sample/tkextlib/iwidgets/sample/scrolledcanvas.rb index 92c94b9..85e6a47 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/scrolledcanvas.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/scrolledcanvas.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/scrolledframe.rb b/ext/tk/sample/tkextlib/iwidgets/sample/scrolledframe.rb index e5bd90a..91d2213 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/scrolledframe.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/scrolledframe.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/scrolledhtml.rb b/ext/tk/sample/tkextlib/iwidgets/sample/scrolledhtml.rb index 2b675f8..f825483 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/scrolledhtml.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/scrolledhtml.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/scrolledlistbox.rb b/ext/tk/sample/tkextlib/iwidgets/sample/scrolledlistbox.rb index bf2c601..3872fb7 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/scrolledlistbox.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/scrolledlistbox.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/scrolledtext.rb b/ext/tk/sample/tkextlib/iwidgets/sample/scrolledtext.rb index 41498e6..4965039 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/scrolledtext.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/scrolledtext.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/selectionbox.rb b/ext/tk/sample/tkextlib/iwidgets/sample/selectionbox.rb index 7468497..8c0b68a 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/selectionbox.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/selectionbox.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/selectiondialog.rb b/ext/tk/sample/tkextlib/iwidgets/sample/selectiondialog.rb index d53391f..9fbf8b7 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/selectiondialog.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/selectiondialog.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/shell.rb b/ext/tk/sample/tkextlib/iwidgets/sample/shell.rb index 6d01280..4cbf441 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/shell.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/shell.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/spindate.rb b/ext/tk/sample/tkextlib/iwidgets/sample/spindate.rb index 17197a6..38d9b49 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/spindate.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/spindate.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/spinint.rb b/ext/tk/sample/tkextlib/iwidgets/sample/spinint.rb index e2dde01..1887f46 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/spinint.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/spinint.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/spinner.rb b/ext/tk/sample/tkextlib/iwidgets/sample/spinner.rb index 6a20b0e..2e64bdf 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/spinner.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/spinner.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/spintime.rb b/ext/tk/sample/tkextlib/iwidgets/sample/spintime.rb index 2c13884..597e7d0 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/spintime.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/spintime.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/tabnotebook.rb b/ext/tk/sample/tkextlib/iwidgets/sample/tabnotebook.rb index 382b34d..0c94cd1 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/tabnotebook.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/tabnotebook.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/tabnotebook2.rb b/ext/tk/sample/tkextlib/iwidgets/sample/tabnotebook2.rb index 2689759..57f9e46 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/tabnotebook2.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/tabnotebook2.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/tabset.rb b/ext/tk/sample/tkextlib/iwidgets/sample/tabset.rb index 90be46b..99d5ac6 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/tabset.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/tabset.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/timeentry.rb b/ext/tk/sample/tkextlib/iwidgets/sample/timeentry.rb index 4659399..5841f0a 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/timeentry.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/timeentry.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/timefield.rb b/ext/tk/sample/tkextlib/iwidgets/sample/timefield.rb index bb59450..e2824b1 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/timefield.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/timefield.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/toolbar.rb b/ext/tk/sample/tkextlib/iwidgets/sample/toolbar.rb index 608efd0..3cbaec2 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/toolbar.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/toolbar.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/iwidgets/sample/watch.rb b/ext/tk/sample/tkextlib/iwidgets/sample/watch.rb index 2af53ba..b06f173 100644 --- a/ext/tk/sample/tkextlib/iwidgets/sample/watch.rb +++ b/ext/tk/sample/tkextlib/iwidgets/sample/watch.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/iwidgets' diff --git a/ext/tk/sample/tkextlib/tcllib/datefield.rb b/ext/tk/sample/tkextlib/tcllib/datefield.rb index 3550af7..cf77ed5 100644 --- a/ext/tk/sample/tkextlib/tcllib/datefield.rb +++ b/ext/tk/sample/tkextlib/tcllib/datefield.rb @@ -1,4 +1,5 @@ #!/usr/bin/ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/tcllib/datefield' diff --git a/ext/tk/sample/tkextlib/tcllib/plotdemos1.rb b/ext/tk/sample/tkextlib/tcllib/plotdemos1.rb index 7f35a38..89166c1 100644 --- a/ext/tk/sample/tkextlib/tcllib/plotdemos1.rb +++ b/ext/tk/sample/tkextlib/tcllib/plotdemos1.rb @@ -1,4 +1,5 @@ #!/usr/bin/ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/tcllib/plotchart' diff --git a/ext/tk/sample/tkextlib/tcllib/plotdemos2.rb b/ext/tk/sample/tkextlib/tcllib/plotdemos2.rb index cb657a4..58c5b19 100644 --- a/ext/tk/sample/tkextlib/tcllib/plotdemos2.rb +++ b/ext/tk/sample/tkextlib/tcllib/plotdemos2.rb @@ -1,4 +1,5 @@ #!/usr/bin/ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/tcllib/plotchart' diff --git a/ext/tk/sample/tkextlib/tcllib/plotdemos3.rb b/ext/tk/sample/tkextlib/tcllib/plotdemos3.rb index 66b8fe7..816e38b 100644 --- a/ext/tk/sample/tkextlib/tcllib/plotdemos3.rb +++ b/ext/tk/sample/tkextlib/tcllib/plotdemos3.rb @@ -1,4 +1,5 @@ #!/usr/bin/ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/tcllib/plotchart' diff --git a/ext/tk/sample/tkextlib/tcllib/xyplot.rb b/ext/tk/sample/tkextlib/tcllib/xyplot.rb index 2aa101e..3d71c3b 100644 --- a/ext/tk/sample/tkextlib/tcllib/xyplot.rb +++ b/ext/tk/sample/tkextlib/tcllib/xyplot.rb @@ -1,4 +1,5 @@ #!/usr/bin/ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/tcllib/plotchart' diff --git a/ext/tk/sample/tkextlib/tile/demo.rb b/ext/tk/sample/tkextlib/tile/demo.rb index 260ca00..8348ecd 100644 --- a/ext/tk/sample/tkextlib/tile/demo.rb +++ b/ext/tk/sample/tkextlib/tile/demo.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false # # Demo for 'tile' package. # diff --git a/ext/tk/sample/tkextlib/tile/themes/kroc.rb b/ext/tk/sample/tkextlib/tile/themes/kroc.rb index 72a7c69..3b85692 100644 --- a/ext/tk/sample/tkextlib/tile/themes/kroc.rb +++ b/ext/tk/sample/tkextlib/tile/themes/kroc.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # kroc.rb # diff --git a/ext/tk/sample/tkextlib/tkHTML/hv.rb b/ext/tk/sample/tkextlib/tkHTML/hv.rb index 920eb15..eb3a786 100644 --- a/ext/tk/sample/tkextlib/tkHTML/hv.rb +++ b/ext/tk/sample/tkextlib/tkHTML/hv.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false # # This script implements the "hv" application. Type "hv FILE" to # view FILE as HTML. diff --git a/ext/tk/sample/tkextlib/tkHTML/ss.rb b/ext/tk/sample/tkextlib/tkHTML/ss.rb index 45d4d87..e6ef63b 100644 --- a/ext/tk/sample/tkextlib/tkHTML/ss.rb +++ b/ext/tk/sample/tkextlib/tkHTML/ss.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false # # This script implements the "ss" application. "ss" implements # a presentation slide-show based on HTML slides. diff --git a/ext/tk/sample/tkextlib/tkimg/demo.rb b/ext/tk/sample/tkextlib/tkimg/demo.rb index 8016c26..0f0d585 100644 --- a/ext/tk/sample/tkextlib/tkimg/demo.rb +++ b/ext/tk/sample/tkextlib/tkimg/demo.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false # # Tk::Img demo # diff --git a/ext/tk/sample/tkextlib/tktable/basic.rb b/ext/tk/sample/tkextlib/tktable/basic.rb index dddbb77..eed5351 100644 --- a/ext/tk/sample/tkextlib/tktable/basic.rb +++ b/ext/tk/sample/tkextlib/tktable/basic.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false ## ## basic.rb ## diff --git a/ext/tk/sample/tkextlib/tktable/buttons.rb b/ext/tk/sample/tkextlib/tktable/buttons.rb index e35c137..2c3fee7 100644 --- a/ext/tk/sample/tkextlib/tktable/buttons.rb +++ b/ext/tk/sample/tkextlib/tktable/buttons.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false ## ## buttons.rb ## diff --git a/ext/tk/sample/tkextlib/tktable/command.rb b/ext/tk/sample/tkextlib/tktable/command.rb index e697ccf..05ee47a 100644 --- a/ext/tk/sample/tkextlib/tktable/command.rb +++ b/ext/tk/sample/tkextlib/tktable/command.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false ## ## command.rb ## diff --git a/ext/tk/sample/tkextlib/tktable/debug.rb b/ext/tk/sample/tkextlib/tktable/debug.rb index 016d5b3..831b3a1 100644 --- a/ext/tk/sample/tkextlib/tktable/debug.rb +++ b/ext/tk/sample/tkextlib/tktable/debug.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false ## ## debug.rb ## diff --git a/ext/tk/sample/tkextlib/tktable/dynarows.rb b/ext/tk/sample/tkextlib/tktable/dynarows.rb index cc72a02..ae3349d 100644 --- a/ext/tk/sample/tkextlib/tktable/dynarows.rb +++ b/ext/tk/sample/tkextlib/tktable/dynarows.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false ## ## dynarows.rb ## diff --git a/ext/tk/sample/tkextlib/tktable/maxsize.rb b/ext/tk/sample/tkextlib/tktable/maxsize.rb index 74e136c..51aa619 100644 --- a/ext/tk/sample/tkextlib/tktable/maxsize.rb +++ b/ext/tk/sample/tkextlib/tktable/maxsize.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false ## ## maxsize.rb ## diff --git a/ext/tk/sample/tkextlib/tktable/spreadsheet.rb b/ext/tk/sample/tkextlib/tktable/spreadsheet.rb index 2953b2e..a801045 100644 --- a/ext/tk/sample/tkextlib/tktable/spreadsheet.rb +++ b/ext/tk/sample/tkextlib/tktable/spreadsheet.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false ## ## spreadsheet.rb ## diff --git a/ext/tk/sample/tkextlib/tktable/valid.rb b/ext/tk/sample/tkextlib/tktable/valid.rb index 98e9c38..f11e511 100644 --- a/ext/tk/sample/tkextlib/tktable/valid.rb +++ b/ext/tk/sample/tkextlib/tktable/valid.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false ## ## valid.rb ## diff --git a/ext/tk/sample/tkextlib/treectrl/bitmaps.rb b/ext/tk/sample/tkextlib/treectrl/bitmaps.rb index 0d8b37b..a42e7ac 100644 --- a/ext/tk/sample/tkextlib/treectrl/bitmaps.rb +++ b/ext/tk/sample/tkextlib/treectrl/bitmaps.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # Demo: Bitmaps # diff --git a/ext/tk/sample/tkextlib/treectrl/demo.rb b/ext/tk/sample/tkextlib/treectrl/demo.rb index 564a005..cd277cf 100644 --- a/ext/tk/sample/tkextlib/treectrl/demo.rb +++ b/ext/tk/sample/tkextlib/treectrl/demo.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/treectrl' diff --git a/ext/tk/sample/tkextlib/treectrl/explorer.rb b/ext/tk/sample/tkextlib/treectrl/explorer.rb index 1b8c2a8..3b54bf2 100644 --- a/ext/tk/sample/tkextlib/treectrl/explorer.rb +++ b/ext/tk/sample/tkextlib/treectrl/explorer.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false def demoExplorerAux(t, dir_proc, file_proc) base_dir = File.dirname(File.dirname(@ScriptDir)) diff --git a/ext/tk/sample/tkextlib/treectrl/help.rb b/ext/tk/sample/tkextlib/treectrl/help.rb index 31ec9eb..e3758d0 100644 --- a/ext/tk/sample/tkextlib/treectrl/help.rb +++ b/ext/tk/sample/tkextlib/treectrl/help.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # Demo: Help contents # diff --git a/ext/tk/sample/tkextlib/treectrl/imovie.rb b/ext/tk/sample/tkextlib/treectrl/imovie.rb index 72134eb..4419496 100644 --- a/ext/tk/sample/tkextlib/treectrl/imovie.rb +++ b/ext/tk/sample/tkextlib/treectrl/imovie.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # Demo: iMovie # diff --git a/ext/tk/sample/tkextlib/treectrl/layout.rb b/ext/tk/sample/tkextlib/treectrl/layout.rb index 488abe2..50c3326 100644 --- a/ext/tk/sample/tkextlib/treectrl/layout.rb +++ b/ext/tk/sample/tkextlib/treectrl/layout.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # Demo: Layout # diff --git a/ext/tk/sample/tkextlib/treectrl/mailwasher.rb b/ext/tk/sample/tkextlib/treectrl/mailwasher.rb index 1b51bb9..81ffe74 100644 --- a/ext/tk/sample/tkextlib/treectrl/mailwasher.rb +++ b/ext/tk/sample/tkextlib/treectrl/mailwasher.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # Demo: MailWasher # diff --git a/ext/tk/sample/tkextlib/treectrl/outlook-folders.rb b/ext/tk/sample/tkextlib/treectrl/outlook-folders.rb index d966807..8707251 100644 --- a/ext/tk/sample/tkextlib/treectrl/outlook-folders.rb +++ b/ext/tk/sample/tkextlib/treectrl/outlook-folders.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # Demo: Outlook Express folder list # diff --git a/ext/tk/sample/tkextlib/treectrl/outlook-newgroup.rb b/ext/tk/sample/tkextlib/treectrl/outlook-newgroup.rb index 3495522..841f330 100644 --- a/ext/tk/sample/tkextlib/treectrl/outlook-newgroup.rb +++ b/ext/tk/sample/tkextlib/treectrl/outlook-newgroup.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # Demo: Outlook Express newsgroup messages # diff --git a/ext/tk/sample/tkextlib/treectrl/random.rb b/ext/tk/sample/tkextlib/treectrl/random.rb index 43aca63..33bbcc2 100644 --- a/ext/tk/sample/tkextlib/treectrl/random.rb +++ b/ext/tk/sample/tkextlib/treectrl/random.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # def random_N @RandomN[0] || 500 diff --git a/ext/tk/sample/tkextlib/treectrl/www-options.rb b/ext/tk/sample/tkextlib/treectrl/www-options.rb index 6a3e9c2..81f5349 100644 --- a/ext/tk/sample/tkextlib/treectrl/www-options.rb +++ b/ext/tk/sample/tkextlib/treectrl/www-options.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false def demoInternetOptions (t) @Option = TkVarAccess.new_hash('::Option') diff --git a/ext/tk/sample/tkextlib/vu/canvItems.rb b/ext/tk/sample/tkextlib/vu/canvItems.rb index 364f876..aa9bd5e 100644 --- a/ext/tk/sample/tkextlib/vu/canvItems.rb +++ b/ext/tk/sample/tkextlib/vu/canvItems.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/vu/charts' diff --git a/ext/tk/sample/tkextlib/vu/canvSticker.rb b/ext/tk/sample/tkextlib/vu/canvSticker.rb index 85713eb..a240eb5 100644 --- a/ext/tk/sample/tkextlib/vu/canvSticker.rb +++ b/ext/tk/sample/tkextlib/vu/canvSticker.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/vu/charts' diff --git a/ext/tk/sample/tkextlib/vu/canvSticker2.rb b/ext/tk/sample/tkextlib/vu/canvSticker2.rb index 3d9495f..5dec81a 100644 --- a/ext/tk/sample/tkextlib/vu/canvSticker2.rb +++ b/ext/tk/sample/tkextlib/vu/canvSticker2.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/vu/charts' diff --git a/ext/tk/sample/tkextlib/vu/dial_demo.rb b/ext/tk/sample/tkextlib/vu/dial_demo.rb index f1f2f11..409b8d7 100644 --- a/ext/tk/sample/tkextlib/vu/dial_demo.rb +++ b/ext/tk/sample/tkextlib/vu/dial_demo.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/vu/dial' diff --git a/ext/tk/sample/tkextlib/vu/oscilloscope.rb b/ext/tk/sample/tkextlib/vu/oscilloscope.rb index 1efe13c..0fa7799 100644 --- a/ext/tk/sample/tkextlib/vu/oscilloscope.rb +++ b/ext/tk/sample/tkextlib/vu/oscilloscope.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/vu/charts' diff --git a/ext/tk/sample/tkextlib/vu/pie.rb b/ext/tk/sample/tkextlib/vu/pie.rb index c8f9276..a61a191 100644 --- a/ext/tk/sample/tkextlib/vu/pie.rb +++ b/ext/tk/sample/tkextlib/vu/pie.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/vu/pie' diff --git a/ext/tk/sample/tkextlib/vu/vu_demo.rb b/ext/tk/sample/tkextlib/vu/vu_demo.rb index 358d324..7b9741f 100644 --- a/ext/tk/sample/tkextlib/vu/vu_demo.rb +++ b/ext/tk/sample/tkextlib/vu/vu_demo.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' require 'tkextlib/vu' diff --git a/ext/tk/sample/tkfrom.rb b/ext/tk/sample/tkfrom.rb index f51f7f5..4c24988 100644 --- a/ext/tk/sample/tkfrom.rb +++ b/ext/tk/sample/tkfrom.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require "parsedate" require "base64" diff --git a/ext/tk/sample/tkhello.rb b/ext/tk/sample/tkhello.rb index 597c1f6..02de5ff 100644 --- a/ext/tk/sample/tkhello.rb +++ b/ext/tk/sample/tkhello.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require "tk" TkButton.new(nil, diff --git a/ext/tk/sample/tkline.rb b/ext/tk/sample/tkline.rb index 3124c2f..c23cb95 100644 --- a/ext/tk/sample/tkline.rb +++ b/ext/tk/sample/tkline.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require "tkclass" diff --git a/ext/tk/sample/tkmenubutton.rb b/ext/tk/sample/tkmenubutton.rb index 8ae1359..2107e42 100644 --- a/ext/tk/sample/tkmenubutton.rb +++ b/ext/tk/sample/tkmenubutton.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false # # menubutton sample : based on sample menubuttons on the Tcl/Tk demo script # diff --git a/ext/tk/sample/tkmsgcat-load_rb.rb b/ext/tk/sample/tkmsgcat-load_rb.rb index 98a91fa..bacf85d 100644 --- a/ext/tk/sample/tkmsgcat-load_rb.rb +++ b/ext/tk/sample/tkmsgcat-load_rb.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' diff --git a/ext/tk/sample/tkmsgcat-load_rb2.rb b/ext/tk/sample/tkmsgcat-load_rb2.rb index 05512a3..53e41bc 100644 --- a/ext/tk/sample/tkmsgcat-load_rb2.rb +++ b/ext/tk/sample/tkmsgcat-load_rb2.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' diff --git a/ext/tk/sample/tkmsgcat-load_tk.rb b/ext/tk/sample/tkmsgcat-load_tk.rb index 703f471..783d03c 100644 --- a/ext/tk/sample/tkmsgcat-load_tk.rb +++ b/ext/tk/sample/tkmsgcat-load_tk.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'tk' diff --git a/ext/tk/sample/tkmulticolumnlist.rb b/ext/tk/sample/tkmulticolumnlist.rb index a1b3a1a..fb0c29d 100644 --- a/ext/tk/sample/tkmulticolumnlist.rb +++ b/ext/tk/sample/tkmulticolumnlist.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkmulticolumnlist.rb : multiple column list widget on scrollable frame # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/sample/tkmultilistbox.rb b/ext/tk/sample/tkmultilistbox.rb index 7791649..c8c8118 100644 --- a/ext/tk/sample/tkmultilistbox.rb +++ b/ext/tk/sample/tkmultilistbox.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkmultilistbox.rb : multiple listbox widget # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/sample/tkmultilistframe.rb b/ext/tk/sample/tkmultilistframe.rb index 7c0aac9..229a400 100644 --- a/ext/tk/sample/tkmultilistframe.rb +++ b/ext/tk/sample/tkmultilistframe.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tkmultilistframe.rb : multiple listbox widget on scrollable frame # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/sample/tkoptdb-safeTk.rb b/ext/tk/sample/tkoptdb-safeTk.rb index 8fd35a9..f14015d 100755 --- a/ext/tk/sample/tkoptdb-safeTk.rb +++ b/ext/tk/sample/tkoptdb-safeTk.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false require 'multi-tk' diff --git a/ext/tk/sample/tkoptdb.rb b/ext/tk/sample/tkoptdb.rb index 0171e46..3fb2464 100644 --- a/ext/tk/sample/tkoptdb.rb +++ b/ext/tk/sample/tkoptdb.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false # # sample script of TkOptionDB # diff --git a/ext/tk/sample/tkrttimer.rb b/ext/tk/sample/tkrttimer.rb index 1f9cbd9..cde1562 100644 --- a/ext/tk/sample/tkrttimer.rb +++ b/ext/tk/sample/tkrttimer.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false # This script is a re-implementation of tktimer.rb with TkTimer(TkAfter) class. require "tk" diff --git a/ext/tk/sample/tksleep_sample.rb b/ext/tk/sample/tksleep_sample.rb index 23f6eca..14ce3a4 100644 --- a/ext/tk/sample/tksleep_sample.rb +++ b/ext/tk/sample/tksleep_sample.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'tk' v = TkVariable.new(0) diff --git a/ext/tk/sample/tktextframe.rb b/ext/tk/sample/tktextframe.rb index d6584be..f6d9bbd 100644 --- a/ext/tk/sample/tktextframe.rb +++ b/ext/tk/sample/tktextframe.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # tktextframe.rb : a sample of TkComposite # diff --git a/ext/tk/sample/tktextio.rb b/ext/tk/sample/tktextio.rb index 74a0804..4a1346b 100644 --- a/ext/tk/sample/tktextio.rb +++ b/ext/tk/sample/tktextio.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false # # TkTextIO class :: handling I/O stream on a TkText widget # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp) diff --git a/ext/tk/sample/tktimer.rb b/ext/tk/sample/tktimer.rb index b1adb5b..4b6abae 100644 --- a/ext/tk/sample/tktimer.rb +++ b/ext/tk/sample/tktimer.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false # This script generates a counter with start and stop buttons. require "tk" diff --git a/ext/tk/sample/tktimer2.rb b/ext/tk/sample/tktimer2.rb index 125115e..3f8d722 100644 --- a/ext/tk/sample/tktimer2.rb +++ b/ext/tk/sample/tktimer2.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false # This script is a re-implementation of tktimer.rb with TkTimer(TkAfter) class. require "tk" diff --git a/ext/tk/sample/tktimer3.rb b/ext/tk/sample/tktimer3.rb index 08e8a3c..bce3cd6 100644 --- a/ext/tk/sample/tktimer3.rb +++ b/ext/tk/sample/tktimer3.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false # This script is a re-implementation of tktimer.rb with TkTimer(TkAfter) class. require "tk" diff --git a/ext/tk/sample/tktree.rb b/ext/tk/sample/tktree.rb index 4eb7f60..4762297 100644 --- a/ext/tk/sample/tktree.rb +++ b/ext/tk/sample/tktree.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false ########################################################################## # TkTree widget class # diff --git a/ext/tk/sample/ttk_wrapper.rb b/ext/tk/sample/ttk_wrapper.rb index e4eb9c7..eee9878 100644 --- a/ext/tk/sample/ttk_wrapper.rb +++ b/ext/tk/sample/ttk_wrapper.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# frozen_string_literal: false # # ttk_wrapper.rb -- use Ttk widgets as default on old Ruby/Tk scripts # diff --git a/ext/tk/tkutil/extconf.rb b/ext/tk/tkutil/extconf.rb index a4b5e03..0b3ce03 100644 --- a/ext/tk/tkutil/extconf.rb +++ b/ext/tk/tkutil/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false begin require 'mkmf' diff --git a/ext/win32/extconf.rb b/ext/win32/extconf.rb index c4efee8..9952274 100644 --- a/ext/win32/extconf.rb +++ b/ext/win32/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false if compiled?('fiddle') and $mswin||$mingw||$cygwin create_makefile('win32') end diff --git a/ext/win32/lib/Win32API.rb b/ext/win32/lib/Win32API.rb index 71f1d30..43db7db 100644 --- a/ext/win32/lib/Win32API.rb +++ b/ext/win32/lib/Win32API.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # -*- ruby -*- # for backward compatibility warn "Warning:#{caller[0].sub(/:in `.*'\z/, '')}: Win32API is deprecated after Ruby 1.9.1; use fiddle directly instead" if $VERBOSE diff --git a/ext/win32/lib/win32/importer.rb b/ext/win32/lib/win32/importer.rb index 7975cb7..2bef016 100644 --- a/ext/win32/lib/win32/importer.rb +++ b/ext/win32/lib/win32/importer.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'fiddle/import' module Win32 diff --git a/ext/win32/lib/win32/registry.rb b/ext/win32/lib/win32/registry.rb index aa2d9fc..1f8f2d0 100644 --- a/ext/win32/lib/win32/registry.rb +++ b/ext/win32/lib/win32/registry.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'win32/importer' module Win32 diff --git a/ext/win32/lib/win32/resolv.rb b/ext/win32/lib/win32/resolv.rb index b5c11bf..183d5d3 100644 --- a/ext/win32/lib/win32/resolv.rb +++ b/ext/win32/lib/win32/resolv.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false =begin = Win32 DNS and DHCP I/F diff --git a/ext/win32/lib/win32/sspi.rb b/ext/win32/lib/win32/sspi.rb index 4645e1b..20441b3 100644 --- a/ext/win32/lib/win32/sspi.rb +++ b/ext/win32/lib/win32/sspi.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # = win32/sspi.rb # diff --git a/ext/win32ole/extconf.rb b/ext/win32ole/extconf.rb index 52c3d6b..d204466 100644 --- a/ext/win32ole/extconf.rb +++ b/ext/win32ole/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false #---------------------------------- # extconf.rb # $Revision$ diff --git a/ext/win32ole/lib/win32ole/property.rb b/ext/win32ole/lib/win32ole/property.rb index a68bad9..fea047c 100644 --- a/ext/win32ole/lib/win32ole/property.rb +++ b/ext/win32ole/lib/win32ole/property.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # OLEProperty # helper class of Property with arguments. class OLEProperty diff --git a/ext/win32ole/sample/excel1.rb b/ext/win32ole/sample/excel1.rb index 7136c93..c16c753 100644 --- a/ext/win32ole/sample/excel1.rb +++ b/ext/win32ole/sample/excel1.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'win32ole' application = WIN32OLE.new('Excel.Application') diff --git a/ext/win32ole/sample/excel2.rb b/ext/win32ole/sample/excel2.rb index 6328826..8c4773d 100644 --- a/ext/win32ole/sample/excel2.rb +++ b/ext/win32ole/sample/excel2.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'win32ole' # -4100 is the value for the Excel constant xl3DColumn. diff --git a/ext/win32ole/sample/excel3.rb b/ext/win32ole/sample/excel3.rb index 1ace478..d66023c 100644 --- a/ext/win32ole/sample/excel3.rb +++ b/ext/win32ole/sample/excel3.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'win32ole' #application = WIN32OLE.new('Excel.Application.5') diff --git a/ext/win32ole/sample/ie.rb b/ext/win32ole/sample/ie.rb index 11dc861..dad29b0 100644 --- a/ext/win32ole/sample/ie.rb +++ b/ext/win32ole/sample/ie.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'win32ole' url = 'http://www.ruby-lang.org/' ie = WIN32OLE.new('InternetExplorer.Application') diff --git a/ext/win32ole/sample/ieconst.rb b/ext/win32ole/sample/ieconst.rb index 2c6a7a3..363a4f8 100644 --- a/ext/win32ole/sample/ieconst.rb +++ b/ext/win32ole/sample/ieconst.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'win32ole' ie = WIN32OLE.new('InternetExplorer.Application') diff --git a/ext/win32ole/sample/ienavi.rb b/ext/win32ole/sample/ienavi.rb index 8b279dd..526ef0a 100644 --- a/ext/win32ole/sample/ienavi.rb +++ b/ext/win32ole/sample/ienavi.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'win32ole' $urls = [] diff --git a/ext/win32ole/sample/ienavi2.rb b/ext/win32ole/sample/ienavi2.rb index 67977e2..3248393 100644 --- a/ext/win32ole/sample/ienavi2.rb +++ b/ext/win32ole/sample/ienavi2.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'win32ole' class IEHandler diff --git a/ext/win32ole/sample/oledirs.rb b/ext/win32ole/sample/oledirs.rb index dbacc21..e52a0fd 100644 --- a/ext/win32ole/sample/oledirs.rb +++ b/ext/win32ole/sample/oledirs.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # You need WSH(Windows Scripting Host) to run this script. # diff --git a/ext/win32ole/sample/olegen.rb b/ext/win32ole/sample/olegen.rb index aa0288d..4b088a7 100644 --- a/ext/win32ole/sample/olegen.rb +++ b/ext/win32ole/sample/olegen.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false #----------------------------- # olegen.rb # $Revision$ diff --git a/ext/win32ole/sample/xml.rb b/ext/win32ole/sample/xml.rb index 4b1a54d..36c3db3 100644 --- a/ext/win32ole/sample/xml.rb +++ b/ext/win32ole/sample/xml.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # This file created by olegen.rb as following. # ruby olegen.rb 'Microsoft XML, version 2.0' > xml.rb diff --git a/ext/zlib/extconf.rb b/ext/zlib/extconf.rb index 4480d35..8bbede6 100644 --- a/ext/zlib/extconf.rb +++ b/ext/zlib/extconf.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false # # extconf.rb # |