Flowdock
method

tip

Importance_0
v3.0.9 - Show latest stable - 0 notes - Class: RailsGuides::TextileExtensions
tip(body) 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/textile_extensions.rb, line 15
    def tip(body)
      body.gsub!(/^TIP[.:](.*)$/) do |m|
        result = "<div class='info'><p>"
        result << $1.strip
        result << '</p></div>'
        result
      end
    end
Register or log in to add new notes.