Module: ES6ModuleTranspiler
- Defined in:
- lib/es6_module_transpiler/rails.rb,
lib/es6_module_transpiler/rails/version.rb
Defined Under Namespace
Modules: Rails
Class Method Summary collapse
Class Method Details
.compile_to ⇒ Object
6 7 8 |
# File 'lib/es6_module_transpiler/rails.rb', line 6 def self.compile_to @compile_to || :amd end |
.compile_to=(target) ⇒ Object
10 11 12 |
# File 'lib/es6_module_transpiler/rails.rb', line 10 def self.compile_to=(target) @compile_to = target end |