Mark internal class as private

Minimal doubles should be done.
This commit is contained in:
Michael Miller 2019-10-05 22:06:03 -06:00
parent 00c0553426
commit 47ca96801b
3 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@ module Spectator
@internal.{{definition.name.id}}
end
class Internal
private class Internal
def {{definition.name.id}}
{{definition.block.body}}
end

View file

@ -6,7 +6,7 @@ module Spectator::DSL
Double{{name.id}}.new(@spectator_test_values)
{% else %}
class Double{{name.id}} < ::Spectator::Double
class Internal < {{@type.id}}
private class Internal < {{@type.id}}
end
def initialize(test_values : ::Spectator::TestValues)