Skip to content

Commit d4d704f

Browse files
horghclaude
andcommitted
Fix @return tag for Enum.included method
The method returns the result of base.extend(ClassMethods), which returns the base class, not nil. Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent fee7254 commit d4d704f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/minfraud/enum.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module Enum
88
#
99
# @param base [Class] The class including this module.
1010
#
11-
# @return [nil]
11+
# @return [Class] The base class.
1212
def self.included(base)
1313
base.extend(ClassMethods)
1414
end

0 commit comments

Comments
 (0)