kjellm/vigil

View on GitHub
lib/vigil/log.rb

Summary

Maintainability
A
0 mins
Test Coverage
class Vigil
  class Log

    def initialize
      @log = []
    end

    def <<(item)
      @log << item
    end

    def serialize
      @log.map {|i| i.serialize}
    end

  end
end