Closed takaokouji closed 1 year ago
残りは以下。使っていない拡張機能なのであとまわしにします。
tk2002mac:smalruby3-gui kouji$ git grep -n '()}\.when(' src/lib/ruby-generator
src/lib/ruby-generator/boost.js:73: return `${Generator.spriteName()}.when(:boost_color, ${color}) do\n`;
src/lib/ruby-generator/boost.js:90: return `${Generator.spriteName()}.when(:boost_tilted, ${tiltdirectionany}) do\n`;
src/lib/ruby-generator/ev3.js:19: return `${Generator.spriteName()}.when(:ev3_button_pressed, ${port}) do\n`;
src/lib/ruby-generator/ev3.js:55: return `${Generator.spriteName()}.when(:ev3_distance_gt, ${distance}) do\n`;
src/lib/ruby-generator/ev3.js:61: return `${Generator.spriteName()}.when(:ev3_brightness_gt, ${distance}) do\n`;
src/lib/ruby-generator/gdx_for.js:15: return `${Generator.spriteName()}.when(:gdx_for_gesture, ${gesture}) do\n`;
src/lib/ruby-generator/gdx_for.js:26: return `${Generator.spriteName()}.when(:gdx_force_sensor, ${pushPull}) do\n`;
src/lib/ruby-generator/gdx_for.js:41: return `${Generator.spriteName()}.when(:gdx_for_tilted, ${tilt}) do\n`;
src/lib/ruby-generator/makeymakey.js:15: return `${Generator.spriteName()}.when(:makey_key_pressed, ${key}) do\n`;
src/lib/ruby-generator/makeymakey.js:26: return `${Generator.spriteName()}.when(:makey_pressed_in_oder, ${sequence}) do\n`;