lib/differential/parser/record.rb in differential-1.0.2 vs lib/differential/parser/record.rb in differential-1.0.3
- old
+ new
@@ -13,11 +13,11 @@
# is serves as input into the Calculator module.
class Record
attr_reader :id, :group_id, :value, :data
def initialize(id:, group_id:, value:, data:)
- @id = id
- @group_id = group_id
+ @id = ::Differential::Parser::Id.new(id)
+ @group_id = ::Differential::Parser::Id.new(group_id)
@value = value
@data = data
end
end
end