### Linear code over a finite ring

The command

```
LinearCode(M)
```

works well on a Finite Field `F`

, but doesn't work for a finite ring.
Is there any way to construct a linear code over a finite ring using sage?
In other words, could we construct a module over ZZ/nZZ?
I try to understand the tickets 6452 and 19345 for constructing a linear code over a finite ring.
(Sorry, my karma is insufficient to publish links)
Unfortunately, I was failed to understand.