Sha256: 3740e21c1566e272b4f70418133d251b37ea52e4c2ce70bf91b382bcdb622513

Contents?: true

Size: 484 Bytes

Versions: 29

Compression:

Stored size: 484 Bytes

Contents

class Views::Layouts::WidgetLayout < Fortitude::Widgets::Html5
  def content
    html do
      head do
        title "widget_layout"
      end
      body do
        $order << :widget_layout_pre

        p "pre_layout foo: #{shared_variables[:foo]}"
        p "pre_layout order: #{$order.inspect}"

        yield

        $order << :widget_layout_post

        p "post_layout foo: #{shared_variables[:foo]}"
        p "post_layout order: #{$order.inspect}"
      end
    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
fortitude-0.9.6-java spec/rails/templates/layouts_system_spec/app/views/layouts/widget_layout.rb
fortitude-0.9.6 spec/rails/templates/layouts_system_spec/app/views/layouts/widget_layout.rb
fortitude-0.9.5-java spec/rails/templates/layouts_system_spec/app/views/layouts/widget_layout.rb
fortitude-0.9.5 spec/rails/templates/layouts_system_spec/app/views/layouts/widget_layout.rb
fortitude-0.9.4-java spec/rails/templates/layouts_system_spec/app/views/layouts/widget_layout.rb
fortitude-0.9.4 spec/rails/templates/layouts_system_spec/app/views/layouts/widget_layout.rb
fortitude-0.9.3-java spec/rails/templates/layouts_system_spec/app/views/layouts/widget_layout.rb
fortitude-0.9.3 spec/rails/templates/layouts_system_spec/app/views/layouts/widget_layout.rb
fortitude-0.9.2-java spec/rails/templates/layouts_system_spec/app/views/layouts/widget_layout.rb
fortitude-0.9.2 spec/rails/templates/layouts_system_spec/app/views/layouts/widget_layout.rb
fortitude-0.9.1-java spec/rails/templates/layouts_system_spec/app/views/layouts/widget_layout.rb
fortitude-0.9.1 spec/rails/templates/layouts_system_spec/app/views/layouts/widget_layout.rb
fortitude-0.9.0-java spec/rails/templates/layouts_system_spec/app/views/layouts/widget_layout.rb
fortitude-0.9.0 spec/rails/templates/layouts_system_spec/app/views/layouts/widget_layout.rb
fortitude-0.0.10-java spec/rails/templates/layouts_system_spec/app/views/layouts/widget_layout.rb
fortitude-0.0.10 spec/rails/templates/layouts_system_spec/app/views/layouts/widget_layout.rb
fortitude-0.0.9-java spec/rails/templates/layouts_system_spec/app/views/layouts/widget_layout.rb
fortitude-0.0.9 spec/rails/templates/layouts_system_spec/app/views/layouts/widget_layout.rb
fortitude-0.0.7-java spec/rails/templates/layouts_system_spec/app/views/layouts/widget_layout.rb
fortitude-0.0.7 spec/rails/templates/layouts_system_spec/app/views/layouts/widget_layout.rb