Ruby 1.9.2 リファレンスマニュアル > ライブラリ一覧 > rubygems/versionライブラリ > Gem::Versionクラス > to_s

instance method Gem::Version#to_s

to_s -> String

自身が表すバージョンを文字列として返します。