# File lib/plugins/another_prompt.rb, line 94 def call_prompt(command) Client.execute("curry #{command}") if buf = Readline.readline(ERB.new(prompt).result(Termtter::API.twitter.__send__(:binding)), true) Readline::HISTORY.pop if buf.empty? begin call(buf) rescue Exception => e Client.handle_error(e) end else puts end ensure Client.execute('uncurry') end