Sha256: c720484e10593223c574b505e7eed4aa0ce1722cecbd50deeb246ef62adaf30d

Contents?: true

Size: 210 Bytes

Versions: 6

Compression:

Stored size: 210 Bytes

Contents

class Critic::Fake::Event
  attr_reader :data, :time, :level

  def initialize(opts)
    @data = opts.fetch(:data)
    @time = opts.fetch(:time, Time.new(1979,4,9))
    @level = opts.fetch(:level, 1)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
chalk-log-0.1.7 test/_lib/fake/event.rb
chalk-log-0.1.6 test/_lib/fake/event.rb
chalk-log-0.1.5 test/_lib/fake/event.rb
chalk-log-0.1.4 test/_lib/fake/event.rb
chalk-log-0.1.3 test/_lib/fake/event.rb
chalk-log-0.1.2 test/_lib/fake/event.rb