Flowdock
method

files_in_default_gem

Importance_0
v2_5_5 - Show latest stable - 0 notes - Class: ContentsCommand
files_in_default_gem(spec) public

No documentation

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

Hide source
# File lib/rubygems/commands/contents_command.rb, line 105
  def files_in_default_gem spec
    spec.files.map do |file|
      case file
      when /\A#{spec.bindir}\//
        [RbConfig::CONFIG['bindir'], $POSTMATCH]
      when /\.so\z/
        [RbConfig::CONFIG['archdir'], file]
      else
        [RbConfig::CONFIG['rubylibdir'], file]
      end
    end
  end
Register or log in to add new notes.