FastRI::StringRedirectedDisplay

Attributes

formatter[R]
stringio[R]

Public Class Methods

new(*args) click to toggle source
# File lib/fastri/ri_service.rb, line 31
def initialize(*args)
  super(*args)
  reset_stringio
end

Public Instance Methods

puts(*a) click to toggle source
# File lib/fastri/ri_service.rb, line 36
def puts(*a)
  @stringio.puts(*a)
end
reset_stringio() click to toggle source
# File lib/fastri/ri_service.rb, line 44
def reset_stringio
  @stringio = StringIO.new("")
  @formatter.stringio = @stringio
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.