Class: React::JSX::Processor

Inherits:
Object
  • Object
show all
Defined in:
lib/react/jsx/processor.rb

Overview

A Sprockets 3+-compliant processor

Class Method Summary collapse

Class Method Details

.call(input) ⇒ Object



5
6
7
# File 'lib/react/jsx/processor.rb', line 5

def self.call(input)
  JSX::transform(input[:data])
end