Method: Gem::BasicSpecification#extensions_dir
- Defined in:
- lib/rubygems/basic_specification.rb
#extensions_dir ⇒ Object
Returns path to the extensions directory.
121 122 123 124 125 |
# File 'lib/rubygems/basic_specification.rb', line 121 def extensions_dir Gem.default_ext_dir_for(base_dir) || File.join(base_dir, "extensions", Gem::Platform.local.to_s, Gem.extension_api_version) end |