method

plusplus

rails latest stable - Class: RailsGuides::TextileExtensions

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

plusplus(body)
public

No documentation available.

# 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