Flowdock
method

plusplus

Importance_0
v3.2.13 - Show latest stable - 0 notes - Class: RailsGuides::TextileExtensions
plusplus(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 27
    def plusplus(body)
      body.gsub!(/\+(.*?)\+/) do |m|
        "<notextile><tt>#{$1}</tt></notextile>"
      end

      # The real plus sign
      body.gsub!('<plus>', '+')
    end
Register or log in to add new notes.