From 1f3a253b62b8f7c10364a4d87024f6bf6593f1de Mon Sep 17 00:00:00 2001 From: Luca Guidi Date: Tue, 4 May 2021 11:33:01 +0200 Subject: [PATCH] API docs [ci-skip] --- lib/dry/files.rb | 4 ++++ lib/dry/files/memory_file_system.rb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/dry/files.rb b/lib/dry/files.rb index 2842bd1..5f7814c 100644 --- a/lib/dry/files.rb +++ b/lib/dry/files.rb @@ -1,5 +1,9 @@ # frozen_string_literal: true +# dry-rb is a collection of next-generation Ruby libraries +# +# @api public +# @since 0.1.0 module Dry # File manipulations # diff --git a/lib/dry/files/memory_file_system.rb b/lib/dry/files/memory_file_system.rb index 5d8664f..e52af17 100644 --- a/lib/dry/files/memory_file_system.rb +++ b/lib/dry/files/memory_file_system.rb @@ -32,7 +32,7 @@ def initialize(root: Node.root) # Opens (or creates) a new file for read/write operations. # # @param path [String] the target file - # @yiedparam [Dry::Files::MemoryFileSystem::Node] + # @yieldparam [Dry::Files::MemoryFileSystem::Node] # # @since 0.1.0 # @api private