ruby-changes:8320
From: nobu <ko1@a...>
Date: Sun, 19 Oct 2008 21:19:32 +0900 (JST)
Subject: [ruby-changes:8320] Ruby:r19848 (trunk): * tool/generic_erb.rb: sends the result to stdout if no output option.
nobu 2008-10-19 21:19:19 +0900 (Sun, 19 Oct 2008) New Revision: 19848 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=19848 Log: * tool/generic_erb.rb: sends the result to stdout if no output option. Modified files: trunk/ChangeLog trunk/tool/generic_erb.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 19847) +++ ChangeLog (revision 19848) @@ -1,8 +1,9 @@ -Sun Oct 19 21:12:51 2008 Nobuyoshi Nakada <nobu@r...> +Sun Oct 19 21:19:16 2008 Nobuyoshi Nakada <nobu@r...> * common.mk (srcs): removed ID_H_TARGET. * tool/generic_erb.rb: always overwrites if no if-change option. + sends the result to stdout if no output option. * template/id.h.tmpl: shows which token differs. Index: tool/generic_erb.rb =================================================================== --- tool/generic_erb.rb (revision 19847) +++ tool/generic_erb.rb (revision 19848) @@ -29,4 +29,6 @@ end FileUtils.touch(timestamp) end +else + print result end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/