Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Allowed CompositeSexpProcessor to be more ducktypey

[git-p4: depot-paths = "//src/sexp_processor/dev/": change = 4344]
  • Loading branch information...
commit c1366c1788791a42383825cc73f232fa6d4b1b3b 1 parent c1add36
Ryan Davis zenspider authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/composite_sexp_processor.rb
2  lib/composite_sexp_processor.rb
View
@@ -26,7 +26,7 @@ def initialize # :nodoc:
def <<(processor)
raise ArgumentError, "Can only add sexp processors" unless
- SexpProcessor === processor
+ SexpProcessor === processor || processor.respond_to?(:process)
@processors << processor
end
Please sign in to comment.
Something went wrong with that request. Please try again.