class String
  def truncate(position, omission = '…')
    if self.length > position
      self.slice(0, position).concat(omission)
    else
      self
    end
  end
end

class String
  def truncate(position)
    if self.length > position
      self.slice(0, position).concat('…')
    else
      self
    end
  end
end

Set ellipsis as the only truncation character
Set ellipsis as the only truncation character
