mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Fix spelling (#7405)
This commit is contained in:
parent
966adfb799
commit
c43fbe4ebd
Notes:
git
2023-02-28 18:05:50 +00:00
Merged-By: k0kubun <takashikkbn@gmail.com>
5 changed files with 5 additions and 5 deletions
2
struct.c
2
struct.c
|
@ -1751,7 +1751,7 @@ rb_data_s_def(int argc, VALUE *argv, VALUE klass)
|
|||
* Measure.new(amount: 1, unit: 'km')
|
||||
* #=> #<data Measure amount=1, unit="km">
|
||||
*
|
||||
* # Alternative shorter intialization with []
|
||||
* # Alternative shorter initialization with []
|
||||
* Measure[1, 'km']
|
||||
* #=> #<data Measure amount=1, unit="km">
|
||||
* Measure[amount: 1, unit: 'km']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue