Skip to content

Commit 258a2de

Browse files
authored
Update doc comment in sgml.rb (#895)
A tiny update to the documentation comment on `initialize`.
2 parents b75799e + c38b2b3 commit 258a2de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/phlex/sgml.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def call(...)
2525
end
2626

2727
# Create a new instance of the component.
28-
# @note The block will not be delegated {#initialize}. Instead, it will be sent to {#template} when rendering.
28+
# @note The block will not be delegated to {#initialize}. Instead, it will be sent to {#view_template} when rendering.
2929
def new(*a, **k, &block)
3030
if block
3131
object = super(*a, **k, &nil)

0 commit comments

Comments
 (0)