From 618c6c0e18de94a5c15af01316ae29bfb50161a3 Mon Sep 17 00:00:00 2001 From: kojix2 <2xijok@gmail.com> Date: Thu, 18 Sep 2025 20:08:50 +0900 Subject: [PATCH] Fix typos in documentation and README files --- CHANGES.md | 2 +- lib/iruby/input/README.ipynb | 4 ++-- lib/iruby/input/README.md | 4 ++-- lib/iruby/session/cztop.rb | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index ce6dcd6..0254fbb 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -141,7 +141,7 @@ * Improvements to IRuby dependency detection using `Bundler::Dependencies#specs` (@kou). * Use less memory forcing pry to store only the last 3 commands in memory (@kylekyle). -* Use bigger z-index that is used accross all browsers (@kylekyle). +* Use bigger z-index that is used across all browsers (@kylekyle). * Ability to input date values as DateTime objects in IRuby/Input (@kylekyle). * Add option to have check boxes checked by default (@kylekyle). * Option for multi-select in drop down menus in the prompter (@kylekyle). diff --git a/lib/iruby/input/README.ipynb b/lib/iruby/input/README.ipynb index bfae9b6..574c285 100644 --- a/lib/iruby/input/README.ipynb +++ b/lib/iruby/input/README.ipynb @@ -113,7 +113,7 @@ "\n", "The enter key will submit an input or form and the escape key will cancel it. Canceled inputs are returned as `nil`. Inputs are automatically canceled if destroyed. An input can be destroyed by clearing its cell's output. The `cancel` button will cancel a form and all other buttons will submit it. \n", "\n", - "After a form destroyed, the cell's output is cleared. Be careful not to prompt for input in a block that has previous output you would like to keep. Output is cleared to prevent forms from interferring with one another and to ensure that inputs are not inadvertently saved to the notebook. " + "After a form destroyed, the cell's output is cleared. Be careful not to prompt for input in a block that has previous output you would like to keep. Output is cleared to prevent forms from interfering with one another and to ensure that inputs are not inadvertently saved to the notebook. " ] }, { @@ -184,7 +184,7 @@ "source": [ "## Defaults\n", "\n", - "Most inputs will accept a `default` parameter. If no default is given, the deault is `nil`. Since checkboxes can have multiple values selected, you can pass an array of values. To check everything, pass `true` as the default. " + "Most inputs will accept a `default` parameter. If no default is given, the default is `nil`. Since checkboxes can have multiple values selected, you can pass an array of values. To check everything, pass `true` as the default. " ] }, { diff --git a/lib/iruby/input/README.md b/lib/iruby/input/README.md index 8af9080..1ec9c9f 100644 --- a/lib/iruby/input/README.md +++ b/lib/iruby/input/README.md @@ -67,7 +67,7 @@ end The enter key will submit an input or form and the escape key will cancel it. Canceled inputs are returned as `nil`. Inputs are automatically canceled if destroyed. An input can be destroyed by clearing its cell's output. The `cancel` button will cancel a form and all other buttons will submit it. -After a form destroyed, the cell's output is cleared. Be careful not to prompt for input in a block that has previous output you would like to keep. Output is cleared to prevent forms from interferring with one another and to ensure that inputs are not inadvertently saved to the notebook. +After a form destroyed, the cell's output is cleared. Be careful not to prompt for input in a block that has previous output you would like to keep. Output is cleared to prevent forms from interfering with one another and to ensure that inputs are not inadvertently saved to the notebook. ```ruby @@ -105,7 +105,7 @@ end ## Defaults -Most inputs will accept a `default` parameter. If no default is given, the deault is `nil`. Since checkboxes can have multiple values selected, you can pass an array of values. To check everything, pass `true` as the default. +Most inputs will accept a `default` parameter. If no default is given, the default is `nil`. Since checkboxes can have multiple values selected, you can pass an array of values. To check everything, pass `true` as the default. ```ruby diff --git a/lib/iruby/session/cztop.rb b/lib/iruby/session/cztop.rb index 7998f38..49539f7 100644 --- a/lib/iruby/session/cztop.rb +++ b/lib/iruby/session/cztop.rb @@ -37,7 +37,7 @@ def initialize(config) end def description - 'old-stle session using cztop' + 'old-style session using cztop' end # Build and send a message