class RBS::Collection::Config
def self.generate_lockfile(config_path:, definition:, with_lockfile: true)
Generate a rbs lockfile from Gemfile.lock to `config_path`.
def self.generate_lockfile(config_path:, definition:, with_lockfile: true) config = from_path(config_path) lockfile = LockfileGenerator.generate(config: config, definition: definition, with_lockfile: with_lockfile) [config, lockfile] end