Sha256: 3fb34032ab44c4f171bef55b8a74ebcc7bf41d65f0339a3dfbb67506e187a4d1
Contents?: true
Size: 591 Bytes
Versions: 24
Compression:
Stored size: 591 Bytes
Contents
class Views::RenderingContextSystemSpec::StartEndWidgetThroughPartials < Fortitude::Widgets::Html5 def content render :partial => 'start_end_widget_through_partials_partial' rendering_context.start_end_calls.each_with_index do |data, index| start_or_end = data[0] widget = data[1] widget_data = if widget.respond_to?(:render_args) "#{widget.class.name} #{widget.render_args.inspect}" else widget.class.name end rawtext "#{index}: #{start_or_end} #{widget_data} #{widget.value if widget.respond_to?(:value)}\n" end end end
Version data entries
24 entries across 24 versions & 1 rubygems