Repository navigation
chore: merge develop into topic/lessons-lm (#2123) - #2128
Merged
smalruby3-editor-bot[bot] merged 3 commits intoNov 17, 2026
Merged
smalruby3-editor-bot[bot] merged 3 commits into
smalruby3-editor-bot[bot] merged 3 commits into
Conversation
"Run without screen refresh" of a custom block is written `without_screen_refresh def foo ... end`. The parse stage unwraps the call to the def and remembers it, so my-blocks.js sets warp "true"; before, Ruby dropped it and converting back turned it off. A custom block name that starts with a digit or is a reserved word gets `_` in front (`1 文字えらぶ` -> `def _1_文字えらぶ`; one digit gets `__`, as `_1`..`_9` are numbered parameters), and the converter takes it off again (ruby-method-name.js). The @ruby:return markers are read with [^:,\s]+ instead of \w+, which missed Japanese method names. The smalruby3 gem gets a no-op `without_screen_refresh` class method. Closes #2114 Closes #2116 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fix(ruby): keep warp and digit-leading names of custom blocks in ruby
|
🚀 Preview deployed (stg API): https://preview.smalruby.app/sync-develop-into-lessons-lm-2103b-fc85c3b1/ |
smalruby3-editor-bot
Bot
deleted the
sync/develop-into-lessons-lm-2103b
branch
November 17, 2026 07:48
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
develop の最新を topic/lessons-lm に取りこみます(EPIC #2103)。
without_screen_refresh defとメソッド名のエスケープ(fix(ruby): 定義ブロックの「画面を再描画せずに実行する」が Ruby を通すと消える #2114 / fix(ruby): 名前が数字で始まる定義ブロック(「1 文字えらぶ」)が Ruby でdef 1_文字えらぶになりエラーになる #2116、PR fix(ruby): keep warp and digit-leading names of custom blocks in ruby #2123)が入ったので、LM コースの「画面を再描画せずに実行する」ブロックを Ruby で読めるようになります。🤖 Generated with Claude Code