| Server IP : 162.214.74.102 / Your IP : 216.73.217.46 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Gem/TestCase/ |
Upload File : |
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