# File lib/facet/string/braket.rb, line 13 def braket(bra, ket=nil) if ! ket && /^[\[({<]$/ =~ bra ket = BRA_KET[$&] end return "#{bra}#{self}#{ket ? ket : bra}" end