Method: HmxClient::Client#genout
- Defined in:
- lib/hmx/client.rb
#genout(content) ⇒ Object
60 61 62 63 64 |
# File 'lib/hmx/client.rb', line 60 def genout(content) puts content File.open($outFile, 'w') { | f | puts "And writing to #{$outFile} " f.write(content) } unless $outFile.nil? end |