Module: TestTrack::TestsHelper

Defined in:
app/helpers/test_track/tests_helper.rb

Instance Method Summary collapse

Instance Method Details

#javascript_include_multiple(path) ⇒ Object



2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# File 'app/helpers/test_track/tests_helper.rb', line 2

def javascript_include_multiple( path )
  output = ""

  if path.kind_of?(Array)

    path.each do |p|
      output << javascript_include_tag(p)
    end

  else
    output << javascript_include_tag(path)
  end

  output.html_safe
end