lib/pagebuilder/script_manager.rb
def append_tags(node)
      document = node.document
      @index.each do |i|
          node << Elements::Basic.new('script', document).configure(@scripts[i])
      end
    end
# Creates the script tags requested in the correct order
# @param [Nokogiri::XML::Node] node to append script tags to
Creates the script tags requested in the correct order
Creates the script tags requested in the correct order
def append_tags(node)
      document = node.document
      @index.each do |i|
          node << Elements::Basic.new('script', document).configure(@scripts[i])
      end
    end
def append_tags ( node ) document = node . document @index . each do | i | node << Elements :: Basic . new ( 'script' , document ) . configure ( @scripts [ i ] ) end end
Creates the script tags requested in the correct order
Creates the script tags requested in the correct order
node
node to append script tags to
node to append script tags to