D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Gem
/
Requirement
/
Filename :
parse-c.ri
back
Copy
U:RDoc::AnyMethod[iI" parse:ETI"Gem::Requirement::parse;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"FParse +obj+, returning an <tt>[op, version]</tt> pair. +obj+ can ;TI"#be a String or a Gem::Version.;To:RDoc::Markup::BlankLine o; ; [I"?If +obj+ is a String, it can be either a full requirement ;TI"Hspecification, like <tt>">= 1.2"</tt>, or a simple version number, ;TI"like <tt>"1.2"</tt>.;T@o:RDoc::Markup::Verbatim; [I"Hparse("> 1.0") # => [">", Gem::Version.new("1.0")] ;TI"Hparse("1.0") # => ["=", Gem::Version.new("1.0")] ;TI"Gparse(Gem::Version.new("1.0")) # => ["=, Gem::Version.new("1.0")];T:@format0: @fileI" lib/rubygems/requirement.rb;T:0@omit_headings_from_table_of_contents_below000[ I" (obj);T@FI"Requirement;TcRDoc::NormalClass00