method
new
v2_1_10 -
Show latest stable
- Class:
Gem::Commands::LockCommand
new()public
No documentation available.
# File 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