[ 1, 2, 3 ].map { |x| x * 2 } # => [ 2, 4, 6 ]
Refresh this page
" } %>require 'source/why/example_page' module Views module Why class Index < Views::Why::ExamplePage def example_body standard_text_row { bang_intro examples_setup link_to_next_example } end def bang_intro p %{There is exactly one overwhelming reason to use Fortitude:} emphatic_pullquote %{It allows you to write vastly better-factored views.} p %{With Fortitude, you can turn this:} erb <<-EOS
[ 1, 2, 3 ].map { |x| x * 2 } # => [ 2, 4, 6 ]
Refresh this page
" } %>