Class: Jass::ES6Processor
- Inherits:
-
Object
- Object
- Jass::ES6Processor
- Defined in:
- lib/jass/es6_processor.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.call(input) ⇒ Object
8 9 10 |
# File 'lib/jass/es6_processor.rb', line 8 def call(input) instance.call(input) end |
.instance ⇒ Object
4 5 6 |
# File 'lib/jass/es6_processor.rb', line 4 def instance @instance ||= new end |
Instance Method Details
#call(input) ⇒ Object
13 14 15 |
# File 'lib/jass/es6_processor.rb', line 13 def call(input) { data: Compiler.compile(input[:data]) } end |