ruby-win32/lib/ruby/site_ruby/1.8/rubygems.rb
def datadir(gem_name)
      spec = @loaded_specs[gem_name]
      return nil if spec.nil?
      File.join(spec.full_gem_path, 'data', gem_name)
    end
# Return the path the the data directory specified by the gem
# name.  If the package is not available as a gem, return nil.
Return the path the the data directory specified by the gem
name.  If the package is not available as a gem, return nil.
Return the path the the data directory specified by the gem name . If the package is not available as a gem return nil .
def datadir(gem_name)
      spec = @loaded_specs[gem_name]
      return nil if spec.nil?
      File.join(spec.full_gem_path, 'data', gem_name)
    end
def datadir ( gem_name ) spec = @loaded_specs [ gem_name ] return nil if spec . nil? File . join ( spec . full_gem_path , 'data' , gem_name ) end
Return the path the the data directory specified by the gem
name.
Return the path the the data directory specified by the gem name .
gem_name