U:RDoc::AnyMethod[iI"platform=:EFI"!Gem::Specification#platform=;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"#The platform this gem runs on.;To:RDoc::Markup::BlankLineo; ; [I"CThis is usually Gem::Platform::RUBY or Gem::Platform::CURRENT.;T@o; ; [I"LMost gems contain pure Ruby code; they should simply leave the default ;TI"Pvalue in place. Some gems contain C (or other) code to be compiled into a ;TI"ORuby "extension". The gem should leave the default value in place unless ;TI"Pthe code will only compile on a certain type of system. Some gems consist ;TI"Pof pre-compiled code ("binary gems"). It's especially important that they ;TI"Iset the platform attribute appropriately. A shortcut is to set the ;TI"Qplatform to Gem::Platform::CURRENT, which will cause the gem builder to set ;TI"Pthe platform to the appropriate value for the system on which the build is ;TI"being performed.;T@o; ; [I"MIf this attribute is set to a non-default value, it will be included in ;TI"7the filename of the gem when it is built such as: ;TI"#nokogiri-1.6.0-x86-mingw32.gem;T@o; ; [I" Usage:;T@o:RDoc::Markup::Verbatim; [I"(spec.platform = Gem::Platform.local;T: @format0: @fileI""lib/rubygems/specification.rb;T:0@omit_headings_from_table_of_contents_below000[I"(platform);T@(FI"Specification;TcRDoc::NormalClassI" Required gemspec attributes;T0