Method: Opal::SourceMap::Index#initialize

Defined in:
lib/opal/source_map/index.rb

#initialize(source_maps, join: nil) ⇒ Index

Returns a new instance of Index.

Parameters:

  • (defaults to: nil)

    the string used to join the sources, empty by default, Opal::Builder uses "\n"



10
11
12
13
# File 'lib/opal/source_map/index.rb', line 10

def initialize(source_maps, join: nil)
  @source_maps = source_maps
  @join = join
end