Skip to content

Commit dd6db81

Browse files
BurdetteLamark0kubun
authored andcommitted
[DOC] Doc for constant NOT_GIVEN
1 parent 7556e68 commit dd6db81

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/erb.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -868,6 +868,10 @@ def initialize(str, safe_level=NOT_GIVEN, legacy_trim_mode=NOT_GIVEN, legacy_eou
868868
@lineno = 0
869869
@_init = self.class.singleton_class
870870
end
871+
872+
# :markup: markdown
873+
#
874+
# Placeholder constant; used as default value for certain method arguments.
871875
NOT_GIVEN = defined?(Ractor) ? Ractor.make_shareable(Object.new) : Object.new
872876
private_constant :NOT_GIVEN
873877

0 commit comments

Comments
 (0)