instance method
right_margin=
Ruby on Rails 2.3.18
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
right_margin=(r)
The number of spaces used for the right margin. The value provided is silently converted to a positive integer value.
columns <--------------------------------------------------------------> <-----------><------><---------------------------><------------> left margin indent text is formatted into here RIGHT MARGIN
- Default
-
0 - Used in
-
#format,#paragraphs,#center
Parameters
-
rreq
Source
# File actionmailer/lib/action_mailer/vendor/text-format-0.6.3/text/format.rb, line 241
def right_margin=(r)
@right_margin = posint(r)
end
Defined in actionmailer/lib/action_mailer/vendor/text-format-0.6.3/text/format.rb line 241
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Text::Format