instance method Gem::Requirement#as_list

as_list -> [String][permalink][rdoc][edit]

必要条件を文字列の配列で返します。


req = Gem::Requirement.new("< 5.0", ">= 1.9")
p req.as_list  # => ["< 5.0", ">= 1.9"]