Sha256: 9b80b1e3e5ab3f23d3add4c8723e00896ae55a8926960a32b2345df14b19f2dc

Contents?: true

Size: 388 Bytes

Versions: 2

Compression:

Stored size: 388 Bytes

Contents

#!/usr/bin/env ruby
# -*- coding: utf-8 -*-

require 'coffee_without_nodejs/compiler'
require 'coffee_without_nodejs/watcher'

module CoffeeWithoutNodejs
  def self.compile(coffee, bare=true)
    if File.file?(coffee)
      CoffeeCompiler.compile_file(coffee, bare)
    else
      CoffeeCompiler.compile(coffee, bare)
    end
  end

  def self.watch!
    CoffeeWatcher.instance
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
coffee_without_nodejs-0.4.0 lib/coffee_without_nodejs.rb
coffee_without_nodejs-0.3.0 lib/coffee_without_nodejs.rb