Method: MightyString::String#pop

Defined in:
lib/mightystring/string.rb

#popObject



51
52
53
54
55
# File 'lib/mightystring/string.rb', line 51

def pop
  chr = self[-1]
  replace chop
  chr 
end