Sha256: c1bb9033c824953d775851a8a788b4ecf645876606ad865dbcae7c4891edfe25

Contents?: true

Size: 407 Bytes

Versions: 24

Compression:

Stored size: 407 Bytes

Contents

class Views::RenderingContextSystemSpec::CurrentElementNestingChild < Fortitude::Widgets::Html5
  record_tag_emission true

  def content
    p {
      rendering_context.current_element_nesting.each_with_index do |item, index|
        name_text = ""
        name_text = "/#{item.name.inspect}" if item.respond_to?(:name)
        text "#{index}: [#{item.class.name}#{name_text}]\n"
      end
    }
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
fortitude-0.0.6-java spec/rails/templates/rendering_context_system_spec/app/views/rendering_context_system_spec/current_element_nesting_child.rb
fortitude-0.0.6 spec/rails/templates/rendering_context_system_spec/app/views/rendering_context_system_spec/current_element_nesting_child.rb
fortitude-0.0.5-java spec/rails/templates/rendering_context_system_spec/app/views/rendering_context_system_spec/current_element_nesting_child.rb
fortitude-0.0.5 spec/rails/templates/rendering_context_system_spec/app/views/rendering_context_system_spec/current_element_nesting_child.rb