You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Dry::Files#readlines method that is mentioned in the user documentation seems to be broken. It is a private method and a call of the method raises the NoMethodError.
To Reproduce
require"dry/files"Gem.loaded_specs["dry-files"].version# => 1.1.0files=Dry::Files.newfiles.readlines("test.txt")# => private method `readlines' called for #<Dry::Files:0x00007fe5efe86cf0 @adapter=#<Dry::Files::FileSystem:0x00007fe5efec8088 @file=File, @file_utils=FileUtils>> (NoMethodError)
Describe the bug
The
Dry::Files#readlines
method that is mentioned in the user documentation seems to be broken. It is a private method and a call of the method raises the NoMethodError.To Reproduce
Expected behavior
Should be public and return an array of strings.
My environment
tk: GTK 3.24.33 wm: muffin vt: 7 dm: LightDM 1.30.0 Distro: Linux Mint 21.2 Victoria
base: Ubuntu 22.04 jammy
The text was updated successfully, but these errors were encountered: