diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2026-02-16 13:25:15 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2026-03-26 08:42:03 +0900 |
| commit | 2fd366a144767be278bd70b9ce23c9cbc4c3e790 (patch) | |
| tree | 0793cfdbd6c5457e2af55e6ab68ee4be24c52307 | |
| parent | b802103f6444e54c2bf8e6c92101cb88b4d05cb9 (diff) | |
[ruby/pstore] [DOC] Complete RDoc coverage
https://github.com/ruby/pstore/commit/bbb1e239f0
| -rw-r--r-- | lib/pstore.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/pstore.rb b/lib/pstore.rb index 4a0d410d31..9cb90d4161 100644 --- a/lib/pstore.rb +++ b/lib/pstore.rb @@ -326,12 +326,14 @@ require "digest" # end # class PStore + # :stopdoc: VERSION = "0.2.0" RDWR_ACCESS = {mode: IO::RDWR | IO::CREAT | IO::BINARY, encoding: Encoding::ASCII_8BIT}.freeze RD_ACCESS = {mode: IO::RDONLY | IO::BINARY, encoding: Encoding::ASCII_8BIT}.freeze WR_ACCESS = {mode: IO::WRONLY | IO::CREAT | IO::TRUNC | IO::BINARY, encoding: Encoding::ASCII_8BIT}.freeze private_constant :RDWR_ACCESS, :RD_ACCESS, :WR_ACCESS + # :startdoc: # The error type thrown by all PStore methods. class Error < StandardError @@ -592,6 +594,8 @@ class PStore end private + # :stopdoc: + # Constant for relieving Ruby's garbage collector. CHECKSUM_ALGO = %w[SHA512 SHA384 SHA256 SHA1 RMD160 MD5].each do |algo| begin |
