# File lib/facet/string/last_char.rb, line 8 def last_char(n=1) n = n.to_i return self if n > size slice(-n, n) #self[-n..-1] end