Parent

Files

Class/Module Index [+]

Quicksearch

IOStub

Public Instance Methods

flush() click to toggle source
# File lib/mspec/helpers/io.rb, line 20
def flush
  self
end
printf(format, *args) click to toggle source
# File lib/mspec/helpers/io.rb, line 16
def printf(format, *args)
  self << sprintf(format, *args)
end
puts(*str) click to toggle source
# File lib/mspec/helpers/io.rb, line 12
def puts(*str)
  write(str.collect { |s| s.to_s.chomp }.concat([nil]).join("\n"))
end
write(*str) click to toggle source
# File lib/mspec/helpers/io.rb, line 4
def write(*str)
  self << str.join
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.