Mercurial > hgrepos > hgweb.cgi > skipweb
changeset 421:eb66eb1574e7
プログラム改良しました
author | KAMADA Kei <c110206@f.koeki-u.ac.jp> |
---|---|
date | Thu, 21 Nov 2013 17:06:48 +0900 |
parents | e29a0228178f |
children | 53e1570080da |
files | ruby/pro2.rb |
diffstat | 1 files changed, 4 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/ruby/pro2.rb Thu Nov 21 16:33:48 2013 +0900 +++ b/ruby/pro2.rb Thu Nov 21 17:06:48 2013 +0900 @@ -61,13 +61,11 @@ STDERR.print "篆絖糸羆冴:" after = STDIN.gets.chomp `convert -geometry 150x100 #{before} #{after}` - STDERR.print "糸picture/ 篆絖障\n" - FileUtils.mv(after, '/home/Kei/public_html/demo/') + STDERR.print "糸syuzai/ 篆絖障\n" + FileUtils.mv(after, '../syuzai/') - STDERR.print "篆絖絎:" - save = STDIN.gets.chomp - FileUtils.mv(name, save) - STDERR.print "篆絖障\n" + FileUtils.mv(name, '../syuzai/') + STDERR.print "<ゃsyuzai/ 篆絖障\n" open("temp.txt", "r") do |cm| while x = cm.gets