Skip to content

Commit

Permalink
Improve documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Nicholaides committed Jan 21, 2024
1 parent a52b088 commit 1d9224d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/cecil/node.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ def replace_with(node) = builder.replace_node self, node
# # 1, 2, 3
# # ])
#
# @example Can be called with no parameters to nest a block
# `ids = new Set([`[] do
# `1, 2, 3`
# end
# @see Code
def with(*positional_values, **named_values, &) = raise "Not implemented" # rubocop:disable Lint/UnusedMethodArgument

Expand Down

0 comments on commit 1d9224d

Please sign in to comment.