Changeset 3959 for branches/blt4/builder/scripts/templates/ruby.tl
- Timestamp:
- Sep 24, 2013 4:43:55 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/blt4/builder/scripts/templates/ruby.tl
r3017 r3959 3 3 # ====================================================================== 4 4 # AUTHOR: Michael McLennan, Purdue University 5 # Copyright (c) 2004-201 1 Purdue Research Foundation5 # Copyright (c) 2004-2012 HUBzero Foundation, LLC 6 6 # 7 7 # See the file "license.terms" for information on usage and … … 79 79 code "\n# save output value for $path" 80 80 code "# this shows just one point -- modify as needed" 81 code "# (x, y) = x-label, y-coordinate is height of bar"82 code "str = sprintf(\"%g %g %g\\n\", x, y)"81 code "# (x,h,w) = x-coord, height of bar, and width of bar (optional)" 82 code "str = sprintf(\"%g %g %g\\n\", x, h, w)" 83 83 code "io.put(\"$path.component.xhw\", str, Rappture::APPEND)" 84 84 } … … 86 86 code "\n# save output value for $path" 87 87 code "# data should be base64-encoded image data" 88 code "io.put(\"$path.current\", imdata )"88 code "io.put(\"$path.current\", imdata, Rappture::OVERWRITE)" 89 89 } 90 90 output * { 91 91 code "\n# save output value for $path" 92 code "io.put(\"$path.current\",$id )"92 code "io.put(\"$path.current\",$id, Rappture::OVERWRITE)" 93 93 } 94 94 }
Note: See TracChangeset
for help on using the changeset viewer.