Method: Gem::Commands::CurrentPathCommand#initialize
- Defined in:
- lib/rubygems/commands/current_path_command.rb
#initialize ⇒ CurrentPathCommand
Returns a new instance of CurrentPathCommand.
33 34 35 36 37 38 39 40 |
# File 'lib/rubygems/commands/current_path_command.rb', line 33 def initialize super 'current_path', "Display the location of a gem's current symlink", resolve: false add_option('-r', '--resolve', 'Display value of symbolic link') { |value, | [:resolve] = true } end |