Class: Stitch::JavaScriptCompiler

Inherits:
Compiler
  • Object
show all
Defined in:
lib/stitch/compilers/javascript.rb

Instance Method Summary collapse

Methods inherited from Compiler

all, all_extensions, compile, compilers, enabled, enabled?, extensions, for_extension, inherited, source, source?

Instance Method Details

#compile(path) ⇒ Object



7
8
9
# File 'lib/stitch/compilers/javascript.rb', line 7

def compile(path)
  File.read(path)
end