Skip to content

Commit

Permalink
Make Box constructor and object getter nodoc (#15136)
Browse files Browse the repository at this point in the history
  • Loading branch information
straight-shoota authored Oct 30, 2024
1 parent 6118fa2 commit 04ace04
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/box.cr
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@
#
# For an example usage, see `Proc`'s explanation about sending Procs to C.
class Box(T)
# :nodoc:
#
# Returns the original object
getter object : T

# :nodoc:
#
# Creates a `Box` with the given object.
#
# This method isn't usually used directly. Instead, `Box.box` is used.
Expand Down

0 comments on commit 04ace04

Please sign in to comment.