Module: Readline

Defined in:
lib/fargo/ext/readline.rb

Class Method Summary collapse

Class Method Details

.above_promptObject



12
13
14
15
16
17
# File 'lib/fargo/ext/readline.rb', line 12

def self.above_prompt
  Readline.clear_rl
  yield
ensure
  Readline.restore
end