So it has a hammer....but it’s hidden...I guess.
I haven’t taken a Ruger .380 apart but most of those pocket guns use a striker.
There are a few which use a hidden hammer.