Skip to content

Commit bed3499

Browse files
committed
Minor documentation updates.
See <#326> for background.
1 parent 94e5108 commit bed3499

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/async/node.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def initialize(parent = nil, annotation: nil, transient: false)
7373
end
7474
end
7575

76-
# @returns [Node] the root node in the hierarchy.
76+
# @returns [Node] The root node in the hierarchy.
7777
def root
7878
@parent&.root || self
7979
end
@@ -87,10 +87,10 @@ def root
8787
# @attribute [Node] The parent node.
8888
attr :parent
8989

90-
# @attribute children [Children | Nil] Optional list of children.
90+
# @attribute [Children | Nil] Optional list of children.
9191
attr :children
9292

93-
# A useful identifier for the current node.
93+
# @attribute [String | Nil] A useful identifier for the current node.
9494
attr :annotation
9595

9696
# Whether this node has any children.

0 commit comments

Comments
 (0)