summaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-19 12:19:19 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-19 12:19:19 +0000
commit8b494b468e0015cba12cb6f70c3f225fd7fc71fb (patch)
treed18dc5577c9ea99f43449711284be3c4b0464140 /tool
parentd1bc8a775b431df2813e90593a9bc191f50319bb (diff)
downloadruby-8b494b468e0015cba12cb6f70c3f225fd7fc71fb.tar.gz
ruby-8b494b468e0015cba12cb6f70c3f225fd7fc71fb.tar.xz
ruby-8b494b468e0015cba12cb6f70c3f225fd7fc71fb.zip
* tool/generic_erb.rb: sends the result to stdout if no output option.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rw-r--r--tool/generic_erb.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/tool/generic_erb.rb b/tool/generic_erb.rb
index f7ef48dee..3ddfd7f65 100644
--- a/tool/generic_erb.rb
+++ b/tool/generic_erb.rb
@@ -29,4 +29,6 @@ if output
end
FileUtils.touch(timestamp)
end
+else
+ print result
end