Extended maintenance of Ruby 1.9.3 ended on February 23, 2015. Read more
IRB::InputMethod
# File irb/input-method.rb, line 75 def initialize(file) super @io = IRB::MagicFile.open(file) end
# File irb/input-method.rb, line 92 def encoding @io.external_encoding end
# File irb/input-method.rb, line 81 def eof? @io.eof? end
# File irb/input-method.rb, line 85 def gets print @prompt l = @io.gets # print @prompt, l l end
This page was generated for Ruby 1.9.3
Ruby-doc.org is provided by James Britt and Neurogami. Hack your world. Feed your head. Live curious.
Generated with Ruby-doc Rdoc Generator 0.44.0.