Sha256: 25be9fea32a1d99aad2dd595e8911da164ec56629b25cacb40f57c79c4c42a66

Contents?: true

Size: 304 Bytes

Versions: 15

Compression:

Stored size: 304 Bytes

Contents

require 'sitehub/equality'
class SiteHub
  module Middleware
    module Logging
      class LogEntry
        include Equality
        attr_reader :message, :time

        def initialize(message, time = Time.now)
          @message = message
          @time = time
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
sitehub-0.5.0.alpha12 lib/sitehub/middleware/logging/log_entry.rb
sitehub-0.4.10 lib/sitehub/middleware/logging/log_entry.rb
sitehub-0.5.0.alpha11 lib/sitehub/middleware/logging/log_entry.rb
sitehub-0.5.0.alpha10 lib/sitehub/middleware/logging/log_entry.rb
sitehub-0.5.0.alpha8 lib/sitehub/middleware/logging/log_entry.rb
sitehub-0.5.0.alpha7 lib/sitehub/middleware/logging/log_entry.rb
sitehub-0.5.0.alpha6 lib/sitehub/middleware/logging/log_entry.rb
sitehub-0.5.0.alpha5 lib/sitehub/middleware/logging/log_entry.rb
sitehub-0.5.0.alpha4 lib/sitehub/middleware/logging/log_entry.rb
sitehub-0.5.0.alpha3 lib/sitehub/middleware/logging/log_entry.rb
sitehub-0.5.0.alpha2 lib/sitehub/middleware/logging/log_entry.rb
sitehub-0.4.9 lib/sitehub/middleware/logging/log_entry.rb
sitehub-0.4.8 lib/sitehub/middleware/logging/log_entry.rb
sitehub-0.4.7 lib/sitehub/middleware/logging/log_entry.rb
sitehub-0.4.6 lib/sitehub/middleware/logging/log_entry.rb