[rubygems/rubygems] Remove to_yaml_properties

This is an old syck thing, no longer used anywhere.

https://github.com/rubygems/rubygems/commit/6f72d02bac
This commit is contained in:
David Rodríguez 2024-07-24 11:26:18 +02:00 committed by git
parent 0d3ce31234
commit 30eba40f9c
2 changed files with 0 additions and 8 deletions

View File

@ -214,10 +214,6 @@ class Gem::Requirement
yaml_initialize coder.tag, coder.map
end
def to_yaml_properties # :nodoc:
["@requirements"]
end
def encode_with(coder) # :nodoc:
coder.add "requirements", @requirements
end

View File

@ -297,10 +297,6 @@ class Gem::Version
@hash = nil
end
def to_yaml_properties # :nodoc:
["@version"]
end
def encode_with(coder) # :nodoc:
coder.add "version", @version
end