Sha256: dd0ca87a45ca3c435f1a89f1e13c01d4088dee54b02696a7f88876ce7e600ea9

Contents?: true

Size: 315 Bytes

Versions: 3

Compression:

Stored size: 315 Bytes

Contents

require_relative 'version'

def output_javascript(file_contents, output_file, temporary_nila_file)

  file_id = open(output_file, 'w')

  File.delete(temporary_nila_file)

  file_id.write("//Written using Nila. Visit http://adhithyan15.github.io/nila\n")

  file_id.write(file_contents.join)

  file_id.close()

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nilac-0.0.4.3.9.8 lib/nilac/output_javascript.rb
nilac-0.0.4.3.9.7.1 lib/nilac/output_javascript.rb
nilac-0.0.4.3.9.7 lib/nilac/output_javascript.rb