End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
Gem::Commands::LockCommand.new
new
lib/rubygems/commands/lock_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/rubygems/commands/lock_command.rb, line 5
def initialize
super "lock", "Generate a lockdown list of gems",
:strict => false
add_option "-s", "--[no-]strict",
"fail if unable to satisfy a dependency" do |strict, options|
options[:strict] = strict
end
end
No documentation available