Top Level Namespace

Defined Under Namespace

Modules: FancyIrb, IRB Classes: String

Instance Method Summary collapse

Instance Method Details

#gets(*args) ⇒ Object



168
169
170
171
172
# File 'lib/fancy_irb/irb_ext.rb', line 168

def gets(*args)
  res = gets_non_fancy *args
  FancyIrb.track_height res
  res
end

#gets_non_fancyObject

patch some input methods to track height



167
# File 'lib/fancy_irb/irb_ext.rb', line 167

alias gets_non_fancy gets