diff options
| author | John Bampton <[email protected]> | 2020-12-13 17:26:24 +1000 |
|---|---|---|
| committer | John Bampton <[email protected]> | 2020-12-13 18:38:22 +1000 |
| commit | 940dec5e7df1c4c7ec131073bd364ddd59d4b48c (patch) | |
| tree | 77b0097e93d105368890ab0611801225e72f7ec6 /mrbgems | |
| parent | 116e128b1a103e2fb246cc9d53b82246b24dbd40 (diff) | |
| download | mruby-940dec5e7df1c4c7ec131073bd364ddd59d4b48c.tar.gz mruby-940dec5e7df1c4c7ec131073bd364ddd59d4b48c.zip | |
Fix spelling
Diffstat (limited to 'mrbgems')
| -rw-r--r-- | mrbgems/mruby-bin-debugger/bintest/print.rb | 6 | ||||
| -rw-r--r-- | mrbgems/mruby-method/README.md | 2 | ||||
| -rw-r--r-- | mrbgems/mruby-sprintf/src/sprintf.c | 2 | ||||
| -rw-r--r-- | mrbgems/mruby-struct/mrblib/struct.rb | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/mrbgems/mruby-bin-debugger/bintest/print.rb b/mrbgems/mruby-bin-debugger/bintest/print.rb index 74f17d8de..4a4339f5a 100644 --- a/mrbgems/mruby-bin-debugger/bintest/print.rb +++ b/mrbgems/mruby-bin-debugger/bintest/print.rb @@ -67,7 +67,7 @@ assert('mruby-bin-debugger(print) invalid arguments') do BinTest_MrubyBinDebugger.test(src, tc) end -assert('mruby-bin-debugger(print) nomal') do +assert('mruby-bin-debugger(print) normal') do # ruby source src = <<"SRC" foo = 'foo' @@ -99,7 +99,7 @@ assert('mruby-bin-debugger(print) error') do BinTest_MrubyBinDebugger.test(src, tc) end -# Kernel#instance_eval(string) does't work multiple statements. +# Kernel#instance_eval(string) doesn't work multiple statements. =begin assert('mruby-bin-debugger(print) multiple statements') do # ruby source @@ -234,7 +234,7 @@ SRC BinTest_MrubyBinDebugger.test(src, tc) end -assert('mruby-bin-debugger(print) same name:local variabe') do +assert('mruby-bin-debugger(print) same name:local variable') do # ruby source (bp is break point) src = <<"SRC" lv = 'top' diff --git a/mrbgems/mruby-method/README.md b/mrbgems/mruby-method/README.md index 89f90bed8..5cb0b342a 100644 --- a/mrbgems/mruby-method/README.md +++ b/mrbgems/mruby-method/README.md @@ -1,7 +1,7 @@ mruby-method === -A implementetion of class **Method** and **UnboundMethod** for mruby +A implementation of class **Method** and **UnboundMethod** for mruby ```ruby p Enumerable.instance_method(:find_all).source_location diff --git a/mrbgems/mruby-sprintf/src/sprintf.c b/mrbgems/mruby-sprintf/src/sprintf.c index b10db8547..97e821c2f 100644 --- a/mrbgems/mruby-sprintf/src/sprintf.c +++ b/mrbgems/mruby-sprintf/src/sprintf.c @@ -506,7 +506,7 @@ get_hash(mrb_state *mrb, mrb_value *hash, mrb_int argc, const mrb_value *argv) * For more complex formatting, Ruby supports a reference by name. * %<name>s style uses format style, but %{name} style doesn't. * - * Exapmles: + * Examples: * sprintf("%<foo>d : %<bar>f", { :foo => 1, :bar => 2 }) * #=> 1 : 2.000000 * sprintf("%{foo}f", { :foo => 1 }) diff --git a/mrbgems/mruby-struct/mrblib/struct.rb b/mrbgems/mruby-struct/mrblib/struct.rb index 21cbb47ed..b398409c3 100644 --- a/mrbgems/mruby-struct/mrblib/struct.rb +++ b/mrbgems/mruby-struct/mrblib/struct.rb @@ -20,7 +20,7 @@ if Object.const_defined?(:Struct) ## # Calls the given block for each element of +self+ - # and pass the name and value of the respectiev + # and pass the name and value of the respective # element. # # ISO 15.2.18.4.5 |
