summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2024-07-24 11:26:18 +0200
committergit <[email protected]>2024-07-24 19:55:04 +0000
commit30eba40f9c0246cc1a222846dc1b8245c79f8257 (patch)
tree8dfdec678cf9b3c736e7d4e0ebce557b9778ad52 /lib
parent0d3ce3123491eee303a1259caa09f3da9c085d76 (diff)
[rubygems/rubygems] Remove `to_yaml_properties`
This is an old syck thing, no longer used anywhere. https://github.com/rubygems/rubygems/commit/6f72d02bac
Diffstat (limited to 'lib')
-rw-r--r--lib/rubygems/requirement.rb4
-rw-r--r--lib/rubygems/version.rb4
2 files changed, 0 insertions, 8 deletions
diff --git a/lib/rubygems/requirement.rb b/lib/rubygems/requirement.rb
index 10d4befc7b..d9796c4208 100644
--- a/lib/rubygems/requirement.rb
+++ b/lib/rubygems/requirement.rb
@@ -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
diff --git a/lib/rubygems/version.rb b/lib/rubygems/version.rb
index e174d8ad95..d9cd91bffa 100644
--- a/lib/rubygems/version.rb
+++ b/lib/rubygems/version.rb
@@ -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