module CoffeeScript
def compile(script, options = {})
def compile(script, options = {}) script = script.read if script.respond_to?(:read) if options.key?(:bare) elsif options.key?(:no_wrap) options[:bare] = options[:no_wrap] else options[:bare] = false end # Stringify keys options = options.inject({}) { |h, (k, v)| h[k.to_s] = v; h } Source.context.call("compile", script, options) end
def engine
def engine end
def engine=(engine)
def engine=(engine) end
def version
def version Source.version end