Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/fb_utils/string.rb

Instance Method Summary collapse

Instance Method Details

#surround(affix) ⇒ Object



2
3
4
# File 'lib/fb_utils/string.rb', line 2

def surround(affix)
  affix + self + affix
end