circleci
88 of 88 new or added lines in 27 files covered. (100.0%)
564 of 13151 relevant lines covered (4.29%)
0.04 hits per line
1 |
# frozen_string_literal: true
|
× |
2 |
module Types |
× |
3 |
include Dry::Types |
× |
4 |
URI = Dry::Types::Definition |
× |
5 |
.new(RDF::URI) |
× |
6 |
.constructor do |input|
|
× |
7 |
if input.present?
|
× |
8 |
RDF::URI.new(input.to_s) |
× |
9 |
else
|
× |
10 |
input |
× |
11 |
end
|
× |
12 |
end
|
× |
13 |
end
|
× |