diff --git a/kudamono b/kudamono new file mode 100755 index 0000000..8d98dbe --- /dev/null +++ b/kudamono @@ -0,0 +1,6 @@ +#!/usr/bin/env ruby +# -*- coding: utf-8 + +for i in["りんご","みかん","バナナ"] + print("%sを食べました!\n", i) +end diff --git a/kudamono2.rb b/kudamono2.rb new file mode 100755 index 0000000..9ca793c --- /dev/null +++ b/kudamono2.rb @@ -0,0 +1,7 @@ +#!/usr/bin/env ruby +# -*- coding: utf-8 + +for i in["りんご","みかん","バナナ"] + printf("%sを食べました!\n", i) +end +