attribute abbreviations

Ruby on Rails 2.2.3

Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Defines the current abbreviations as an array. This is only used if extra_space is turned on.

If one is abbreviating “President” as “Pres.” (abbreviations = [“Pres”]), then the results of formatting will be as illustrated in the table below:

extra_space  |  include?        |  !include?
  true       |  Pres. Lincoln   |  Pres.  Lincoln
  false      |  Pres. Lincoln   |  Pres. Lincoln
Default

{}

Used in

#format, #paragraphs

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close