Module: Opal::ERB

Defined in:
opal/lib/opal/erb.rb

Defined Under Namespace

Classes: Compiler

Class Method Summary collapse

Class Method Details

.compile(source, file_name = '(erb)') ⇒ Object



5
6
7
# File 'opal/lib/opal/erb.rb', line 5

def self.compile(source, file_name = '(erb)')
  Compiler.new.compile source, file_name
end