marshal_dump()
Dump only the raw version string, not the complete object. It’s a string for backwards (RubyGems 1.3.5 and earlier) compatibility.
# File lib/rubygems/version.rb, line 263 def marshal_dump [version] end