private Method

Format.__is_abbrev(word)

There's no documentation for this item.

Source Code

# File action_mailer/vendor/text-format-0.6.3/text/format.rb, line 710
def __is_abbrev(word) #:nodoc:
    # remove period if there is one.
  w = word.gsub(/\.$/, '') unless word.nil?
  return true if (!@extra_space || ABBREV.include?(w) || @abbreviations.include?(w))
  false
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.