Flowdock
method

guide

Importance_0
v3.2.13 - Show latest stable - 0 notes - Class: RailsGuides::Helpers
guide(name, url, options = {}, &block) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/guides/rails_guides/helpers.rb, line 3
    def guide(name, url, options = {}, &block)
      link = content_tag(:a, :href => url) { name }
      result = content_tag(:dt, link)

      if options[:work_in_progress]
        result << content_tag(:dd, 'Work in progress', :class => 'work-in-progress')
      end

      result << content_tag(:dd, capture(&block))
      result
    end
Register or log in to add new notes.