diff options
| author | Jon <[email protected]> | 2013-01-22 10:37:54 -0500 |
|---|---|---|
| committer | Jon <[email protected]> | 2013-01-22 10:37:54 -0500 |
| commit | d5b263f7a9a946156c83cc2edbbe4e87b2059964 (patch) | |
| tree | 4056feb0c28ba703bea5f156ff27cb4e50b752f5 /tasks/ruby_ext.rake | |
| parent | 3a95e3fbbdd832acb465e736d30d487785e027e8 (diff) | |
| download | mruby-d5b263f7a9a946156c83cc2edbbe4e87b2059964.tar.gz mruby-d5b263f7a9a946156c83cc2edbbe4e87b2059964.zip | |
Refine pretty printing
Diffstat (limited to 'tasks/ruby_ext.rake')
| -rw-r--r-- | tasks/ruby_ext.rake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/ruby_ext.rake b/tasks/ruby_ext.rake index 2536a2e4b..2cc1738c3 100644 --- a/tasks/ruby_ext.rake +++ b/tasks/ruby_ext.rake @@ -57,6 +57,6 @@ else $pp_show = false if $verbose end -def _pp(msg) - puts msg if $pp_show +def _pp(cmd, src, tgt=nil) + puts '%-5s %s %s' % [cmd, src, tgt ? "-> #{tgt}" : nil] if $pp_show end |
