[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:
parent
0d3ce31234
commit
30eba40f9c
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user