instance method Gem::Requirement#to_s

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

条件を表す文字列を返します。


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