Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

- Code cleanup... what was I thinking???

[git-p4: depot-paths = "//src/sexp_processor/dev/": change = 8050]
  • Loading branch information...
commit a709d364535a4769b6e093bd6f68d11775b0da77 1 parent e3f7a3f
@zenspider zenspider authored
Showing with 2 additions and 5 deletions.
  1. +2 −5 lib/sexp.rb
View
7 lib/sexp.rb
@@ -44,11 +44,7 @@ def self.from_array(a)
end
def ==(obj) # :nodoc:
- if obj.class == self.class then
- super
- else
- false
- end
+ obj.class == self.class and super
end
##
@@ -253,6 +249,7 @@ def shift
def structure
result = self.class.new
if Array === self.first then
+ raise "When does this happen? #{self.inspect}" # TODO: remove >= 4.2.0
@brynary
brynary added a note

Hey @zenspider -- I deployed a sexp_processor update tonight and got flooded with these exceptions. Can this be rolled back?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
result = self.first.structure
else
result << self.first
Please sign in to comment.
Something went wrong with that request. Please try again.