method

new

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - Class: LockCommand
new() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File 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
Register or log in to add new notes.