Skip to content

Commit

Permalink
Fix typos in API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jodosha authored Oct 17, 2023
1 parent 726aa1e commit 0fe2ade
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/dry/files.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def write(path, *content)
#
# @raise [Dry::Files::IOError] in case of I/O error
#
# @since @1.1.0
# @since 1.1.0
# @api public
def chmod(path, mode)
raise Dry::Files::Error, "mode should be an integer (e.g. 0o755)" unless mode.is_a?(Integer)
Expand Down
2 changes: 1 addition & 1 deletion lib/dry/files/file_system.rb
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def write(path, *content)
#
# @raise [Dry::Files::IOError] in case of I/O error
#
# @since @1.1.0
# @since 1.1.0
# @api private
def chmod(path, mode)
with_error_handling do
Expand Down

0 comments on commit 0fe2ade

Please sign in to comment.