--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Align a string to the right.
- !ruby/struct:SM::Flow::P 
  body: The default alignment separation is a new line (&quot;\n&quot;). This can be changed as can be the padding string which defaults to a single space (' ').
- !ruby/struct:SM::Flow::VERB 
  body: "  s = &lt;&lt;-EOS\n  This is a test\n    and\n    so on\n  EOS\n\n  puts s.align_right(14)\n"
- !ruby/struct:SM::Flow::P 
  body: <em>produces</em>
- !ruby/struct:SM::Flow::VERB 
  body: "  This is a test\n             and\n           so on\n"
- !ruby/struct:SM::Flow::P 
  body: "CREDIT: Trans"
full_name: String#align_right
is_singleton: false
name: align_right
params: (n, sep="\n", c=' ')
visibility: public
