lib/tty/prompt/evaluator.rb in tty-prompt-0.22.0 vs lib/tty/prompt/evaluator.rb in tty-prompt-0.23.0
- old
+ new
@@ -21,9 +21,9 @@
end
def check(proc = nil, &block)
results << (proc || block)
end
- alias_method :<<, :check
+ alias << check
end # Evaluator
end # Prompt
end # TTY