circleci
400 of 9819 relevant lines covered (4.07%)
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
|
× |