Skip to content
Browse files

Bah! Don't treat <= or >= as methods either

  • Loading branch information...
1 parent 60c2e66 commit 4e3e73eec78f38b5b23117d7ad9aa1a94cdb37c3 @ConradIrwin ConradIrwin committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/ampex.rb
View
2 lib/ampex.rb
@@ -28,7 +28,7 @@ def initialize(&block)
#
def method_missing(name, *args, &block)
mv = Metavariable.new { |x| @to_proc.call(x).send(name, *args, &block) }
- Metavariable.temporarily_monkeypatch(args.last.class, mv) if name.to_s =~ /[^!=]=$/
+ Metavariable.temporarily_monkeypatch(args.last.class, mv) if name.to_s =~ /[^!=<>]=$/
mv
end

0 comments on commit 4e3e73e

Please sign in to comment.
Something went wrong with that request. Please try again.