24
25
26
27
28
29
|
# File 'lib/gemfile_locker/cli.rb', line 24
def lock(*only)
gemfile = options[:gemfile]
lockfile = File.read("#{gemfile}.lock")
processor_opts = only.any? ? options.merge(only: only) : options
run_editor gemfile, Locker.new(lockfile, processor_opts)
end
|