Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

No need for Symbol#<=> on Ruby 1.9+

This generated a lot of unnecessary memory churn on Ruby >= 1.9
  • Loading branch information...
commit 574707883b71fd227fd96874ab916cc0e2740e87 1 parent 718220a
@mathieuravaux mathieuravaux authored
Showing with 0 additions and 7 deletions.
  1. +0 −7 lib/plist/generator.rb
View
7 lib/plist/generator.rb
@@ -214,13 +214,6 @@ def <<(val)
end
end
-# we need to add this so sorting hash keys works properly
-class Symbol #:nodoc:
- def <=> (other)
- self.to_s <=> other.to_s
- end
-end
-
class Array #:nodoc:
include Plist::Emit
end
Please sign in to comment.
Something went wrong with that request. Please try again.