According to all of the cane gun definitions it is only a regulated cane gun IF it can fire while enclosed in the walking stick.
A derringer that must be removed from the cane shaft to fire is not a cane gun.
A derringer that must be removed from the cane shaft to fire is not a cane gun.

Comment