Method: Red::Executable#print_js
- Defined in:
- lib/red/executable.rb
#print_js(js_output, filename) ⇒ Object
:nodoc:
38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/red/executable.rb', line 38 def print_js(js_output, filename) # :nodoc: puts <<-OUTPUT.%([("- #{filename}.js" unless filename == 'test'), js_output, @@red_errors ||= '']) %s ================================= %s ================================= %s OUTPUT end |