How can I hide a constant's value? #1580
mblumtritt
started this conversation in
General
Replies: 1 comment 1 reply
-
You can use the # Documentation for const...
# @!parse
# CONST = INTERNAL
CONST = 1 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sometimes I define a constant which should be described but I don't like to document the value. I found two cases: a) the constant value is somehow computed or b) too big.
Question: Is there any way to "hide" the value but keep documentation text for such constants?
sample a) computed constant; taken from Rake source
sample b) big constant
Beta Was this translation helpful? Give feedback.
All reactions