class Ramaze::SpecLogger
Special Logger, stores everything in its history
Attributes
history[RW]
Public Class Methods
new()
click to toggle source
Create new history
# File lib/ramaze/spec/helper/pretty_output.rb, line 62 def initialize @history = [] end
Public Instance Methods
each() { |e| ... }
click to toggle source
Yield the history
# File lib/ramaze/spec/helper/pretty_output.rb, line 67 def each @history.each{|e| yield(e) } end
log(tag, str)
click to toggle source
general log
# File lib/ramaze/spec/helper/pretty_output.rb, line 72 def log(tag, str) @history << [tag, str] end