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.
1 parent 3268846 commit ef563b3Copy full SHA for ef563b3
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