lib/ukemi/record.rb in ukemi-0.4.0 vs lib/ukemi/record.rb in ukemi-0.4.1
- old
+ new
@@ -1,12 +1,9 @@
# frozen_string_literal: true
module Ukemi
class Record
- attr_reader :data
- attr_reader :first_seen
- attr_reader :last_seen
- attr_reader :source
+ attr_reader :data, :first_seen, :last_seen, :source
def initialize(data:, first_seen: nil, last_seen: nil, source: nil)
@data = data
@first_seen = first_seen
@last_seen = last_seen