instance method
left_margin=
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
left_margin=(left)
The number of spaces used for the left 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
-
leftreq
Source
# File actionmailer/lib/action_mailer/vendor/text-format-0.6.3/text/format.rb, line 214
def left_margin=(left)
@left_margin = posint(left)
end
Defined in actionmailer/lib/action_mailer/vendor/text-format-0.6.3/text/format.rb line 214
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Text::Format