Class: MultiScript::CoffeeCompiler

Inherits:
Object
  • Object
show all
Defined in:
lib/multiscript/compilers.rb

Class Method Summary collapse

Class Method Details

.compile(source) ⇒ Object



4
5
6
7
# File 'lib/multiscript/compilers.rb', line 4

def compile(source)
  require "coffee-script"
  CoffeeScript.compile(source, :no_wrap => true)
end