Fix for Issue #1311

Fix for Issue #1311 - undefined method invoke_editor for Pry::Editor:Class