Maintenance Ruby 3.3 gets fixes, but no new features. 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.3.0/lib/rubygems/commands/lock_command.rb, line 6
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