Gestionnaire de fichiers - Editer - /opt/cpanel/ea-ruby24/root/usr/share/ri/system/Gem/TestCase/spec_fetcher-i.ri
Arrière
U:RDoc::AnyMethod[iI"spec_fetcher:EFI"Gem::TestCase#spec_fetcher;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"LCreates a SpecFetcher pre-filled with the gems or specs defined in the ;TI"block.;To:RDoc::Markup::BlankLine o; ; [I"OYields a +fetcher+ object that responds to +spec+ and +gem+. +spec+ adds ;TI"Na specification to the SpecFetcher while +gem+ adds both a specification ;TI"Nand the gem data to the RemoteFetcher so the built gem can be downloaded.;T@o; ; [I"IIf only the a-3 gem is supposed to be downloaded you can save setup ;TI"8time by creating only specs for the other versions:;T@o:RDoc::Markup::Verbatim; [ I"spec_fetcher do |fetcher| ;TI" fetcher.spec 'a', 1 ;TI"; fetcher.spec 'a', 2, 'b' => 3 # dependency on b = 3 ;TI"$ fetcher.gem 'a', 3 do |spec| ;TI"( # spec is a Gem::Specification ;TI" # ... ;TI" end ;TI"end;T:@format0: @fileI"lib/rubygems/test_case.rb;T:0@omit_headings_from_table_of_contents_below00I"spec_fetcher_setup;T[ I"(repository = @gem_repo);T@#FI" TestCase;TcRDoc::NormalClass00
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Génération de la page: 0.01 |
proxy
|
phpinfo
|
Réglages