Sha256: 222ce39af985826397efd1fffdfeb29df0d44d5c119e19d9651ca324c244f9e2
Contents?: true
Size: 419 Bytes
Versions: 1
Compression:
Stored size: 419 Bytes
Contents
#!/usr/bin/env ruby # -*- coding: utf-8 -*- require 'coffee_without_nodejs/compiler' require 'coffee_without_nodejs/watcher' module CoffeeWithoutNodejs def self.compile(js, bare=true) if File.file?(js) js_file = CoffeeCompiler.compile_file(js, bare) CoffeeWatcher.new(js) js_file else CoffeeCompiler.compile(js, bare) end end def self.watch! CoffeeWatcher.run end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
coffee_without_nodejs-0.1.0 | lib/coffee_without_nodejs.rb |