Sturm, Ruger & Co. said in a regulatory filing that the company has secured a $40 million revolving line of credit with Wells Fargo & Co.

The company can draw on the credit for general corporate purposes. The credit agreement was reached Sept. 27.

The funding comes at a time when some financial institutions have curtailed loans to firearms manufacturers or have discussed taking such action.