Skip to content

Commit 11fd22c

Browse files
committed
autoload Value
1 parent 8c091d0 commit 11fd22c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/dry/struct.rb

+2
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ class Struct
8686
include Core::Constants
8787
extend ClassInterface
8888

89+
autoload :Value, 'dry/struct/value'
90+
8991
include ::Dry::Equalizer(:__attributes__, inspect: false, immutable: true)
9092

9193
# {Dry::Types::Hash::Schema} subclass with specific behaviour defined for

0 commit comments

Comments
 (0)