We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3268846 + ef563b3 commit be2f47bCopy full SHA for be2f47b
lib/dry/struct/class_interface.rb
@@ -63,8 +63,8 @@ def inherited(klass)
63
# @example with a nested array of structs
64
# class Language < Dry::Struct
65
# attribute :name, Types::String
66
- # array :versions, Types::String
67
- # array :celebrities, Types::Array.of(Dry::Struct) do
+ # attribute :versions, Types::Array.of(Types::String)
+ # attribute :celebrities, Types::Array.of(Dry::Struct) do
68
69
# attribute :pseudonym, Types::String
70
# end
0 commit comments