Sha256: ff74e891b5c1ea1b2b159a30d2c83b5d9fd3767c9eacaa0b8cf2c8993870d4e9
Contents?: true
Size: 318 Bytes
Versions: 1
Compression:
Stored size: 318 Bytes
Contents
class SiteHub module Logging class LogEntry attr_reader :message, :time def initialize(message, time = Time.now) @message = message @time = time end def ==(other) other.is_a?(LogEntry) && message == other.message && time == other.time end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sitehub-0.4.3 | lib/sitehub/logging/log_entry.rb |