File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -736,7 +736,7 @@ The method allows to check whether the `Struct`-produced class is initialized by
736736
737737* ** Reason:** Helpful for meta-programming and generic processing of data, like serializing/deserializing.
738738* ** Discussion:** <a class =" tracker feature " href =" https://bugs.ruby-lang.org/issues/18008 " >Feature #18008 </a >
739- * ** Documentation:** <a class =" ruby-doc " href =" https://docs.ruby-lang.org/en/3.1/Struct.html#method-c-keyword_init-3F " ><code >Strict .keyword_init?</code ></a >
739+ * ** Documentation:** <a class =" ruby-doc " href =" https://docs.ruby-lang.org/en/3.1/Struct.html#method-c-keyword_init-3F " ><code >Struct .keyword_init?</code ></a >
740740* ** Code:**
741741 ``` ruby
742742 Struct .new (:name , :age ).keyword_init? # => nil
Original file line number Diff line number Diff line change @@ -736,7 +736,7 @@ The method allows to check whether the `Struct`-produced class is initialized by
736736
737737* ** Reason:** Helpful for meta-programming and generic processing of data, like serializing/deserializing.
738738* ** Discussion:** [ Feature #18008 ] ( https://bugs.ruby-lang.org/issues/18008 )
739- * ** Documentation:** [ Strict .keyword_init?] ( https://docs.ruby-lang.org/en/3.1/Struct.html#method-c-keyword_init-3F )
739+ * ** Documentation:** [ Struct .keyword_init?] ( https://docs.ruby-lang.org/en/3.1/Struct.html#method-c-keyword_init-3F )
740740* ** Code:**
741741 ``` ruby
742742 Struct .new (:name , :age ).keyword_init? # => nil
Original file line number Diff line number Diff line change @@ -470,7 +470,7 @@ Included in many classes to implement comparison methods. Once class defines a m
470470 User.new(name: 'Matz', email: 'matz@ruby-lang.org')
471471 ` ` `
472472* [3.1 ](3.1 .md# warning-on-passing-keywords-to-a-non-keyword-initialized-struct) Warning on passing keywords to a non-keyword-initialized struct
473- * [3.1 ](3.1 .md# structclasskeyword_init) [Strict .keyword_init?](https://docs.ruby-lang.org/en/3.1/Struct.html#method-c-keyword_init-3F)
473+ * [3.1 ](3.1 .md# structclasskeyword_init) [Struct .keyword_init?](https://docs.ruby-lang.org/en/3.1/Struct.html#method-c-keyword_init-3F)
474474
475475# # `Time`
476476
Original file line number Diff line number Diff line change @@ -470,7 +470,7 @@ Included in many classes to implement comparison methods. Once class defines a m
470470 User.new(name: 'Matz', email: 'matz@ruby-lang.org')
471471 ` ` `
472472* < span class = " ruby-version" > [3.1 ](3.1 .md# warning-on-passing-keywords-to-a-non-keyword-initialized-struct)</span> Warning on passing keywords to a non-keyword-initialized struct
473- * < span class = " ruby-version" > [3.1 ](3.1 .md# structclasskeyword_init)</span> <a class="ruby-doc" href="https://docs.ruby-lang.org/en/3.1/Struct.html#method-c-keyword_init-3F"><code>Strict .keyword_init?</code></a>
473+ * < span class = " ruby-version" > [3.1 ](3.1 .md# structclasskeyword_init)</span> <a class="ruby-doc" href="https://docs.ruby-lang.org/en/3.1/Struct.html#method-c-keyword_init-3F"><code>Struct .keyword_init?</code></a>
474474
475475# # `Time`[](#time)
476476
You can’t perform that action at this time.
0 commit comments