Skip to content

Fix incorrect sample code in README (DDict usage and CDict example)#141

Open
Watson1978 wants to merge 1 commit into
SpringMT:mainfrom
Watson1978:fix/readme-sample-code
Open

Fix incorrect sample code in README (DDict usage and CDict example)#141
Watson1978 wants to merge 1 commit into
SpringMT:mainfrom
Watson1978:fix/readme-sample-code

Conversation

@Watson1978

Copy link
Copy Markdown
Contributor

Fixes incorrect sample code in README.md.

  • Decompression with DDict example: Fixed the class name DdictDDict; since this is a decompression example, changed compressdecompress; and pass the dictionary via the dict: keyword argument to be consistent with the other decompress examples.
  • Streaming Compression with CDict of level 5 example: Fixed the parenthesis placement so the compression level 5 is passed as the second argument of CDict.new instead of being passed to File.read.

This only changes README.md; no code, tests, or gemspec are touched.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant