module CucumberAnalytics


  module Containing


    private


    def build_child_element(clazz, element_data)
      element = clazz.new(element_data)
      element.parent_element = self

      element
    end

  end
end
