Idiom: Having a gas

What does 'Having a gas' mean?

If you're having a gas, you are having a laugh and enjoying yourself in company.

See also: