Skip to content

Commit

Permalink
Merge pull request #1527 from tk0miya/add_psych
Browse files Browse the repository at this point in the history
stdlib: Add psych module
  • Loading branch information
soutaro authored Oct 30, 2023
2 parents bc17eee + c643022 commit 76c06eb
Show file tree
Hide file tree
Showing 9 changed files with 482 additions and 248 deletions.
6 changes: 3 additions & 3 deletions stdlib/yaml/0/dbm.rbs → stdlib/psych/0/dbm.rbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%a{annotate:rdoc:skip}
module YAML
module Psych
# <!-- rdoc-file=lib/yaml/dbm.rb -->
# YAML + DBM = YDBM
#
Expand Down Expand Up @@ -169,7 +169,7 @@ module YAML
# object. Takes any object which implements the each_pair method, including Hash
# and DBM objects.
#
def replace: (Hash[untyped, untyped] | DBM hsh) -> YAML::DBM
def replace: (Hash[untyped, untyped] | DBM hsh) -> Psych::DBM

# <!--
# rdoc-file=lib/yaml/dbm.rb
Expand Down Expand Up @@ -214,7 +214,7 @@ module YAML
#
# Returns `self`.
#
def update: (Hash[untyped, untyped]) -> YAML::DBM
def update: (Hash[untyped, untyped]) -> Psych::DBM

# <!--
# rdoc-file=lib/yaml/dbm.rb
Expand Down
3 changes: 3 additions & 0 deletions stdlib/psych/0/manifest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dependencies:
- name: dbm
- name: pstore
Loading

0 comments on commit 76c06eb

Please sign in to comment.