Modeling nerve cells can facilitate formulating hypotheses about their real behavior and improve understanding of their functioning. In this paper, we study a discrete neuron model introduced by Courbage et al. [Chaos 17, 043109 (2007)], where the originally piecewise linear function defining voltage dynamics is replaced by a cubic polynomial, with an additional parameter responsible for varying the slope. Showing that on a large subset of the multidimensional parameter space, the return map of the voltage dynamics is an expanding Lorenz map, we analyze both chaotic and periodic behavior of the system and describe the complexity of spiking patterns fired by a neuron. This is achieved by using and extending some results from the theory of Lorenz-like and expanding Lorenz mappings.