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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Return a new string embraced by given brakets. If only one bracket char is given it will be placed on either side.
- !ruby/struct:SM::Flow::VERB 
  body: "  &quot;wrap me&quot;.bracket('{')        #=&gt; &quot;{wrap me}&quot;\n  &quot;wrap me&quot;.bracket('--','!')   #=&gt; &quot;--wrap me!&quot;\n"
- !ruby/struct:SM::Flow::P 
  body: "CREDIT: Trans"
full_name: String#bracket
is_singleton: false
name: bracket
params: (bra, ket=nil)
visibility: public
