Sha256: da3fad9476b54ff04957ddb605cb14f0aec514fc6daf371c81c00ae38c10dc18

Contents?: true

Size: 1.25 KB

Versions: 79

Compression:

Stored size: 1.25 KB

Contents

# encoding: utf-8
# language: ja
@javascript
機能: operators_{true,false} - 「条件:{真,偽}」ブロック
  背景:
    前提 "ブロック" タブを表示する

  シナリオテンプレート: ブロックを配置する
    もし 次のブロック("operators_<ブロック名のサフィックス>")を配置する:
      """
      %block{:type => "operators_<ブロック名のサフィックス>", :x => "0", :y => "0", :inline => "true"}
      """
    かつ ブロックからソースコードを生成する

    ならば テキストエディタのプログラムは以下を含むこと:
      """
      <Ruby>
      """

    もし 次のブロック("operators_<ブロック名のサフィックス>")を配置する:
      """
      %block{:type => "ruby_p", :x => "0", :y => "0", :inline => "true"}
        %value{:name => "ARG"}
          %block{:type => "operators_<ブロック名のサフィックス>"}
      """
    かつ ブロックからソースコードを生成する

    ならば テキストエディタのプログラムは以下を含むこと:
      """
      p(<Ruby>)
      """

    例:
      | ブロック名のサフィックス | Ruby  |
      | true                     | true  |
      | false                    | false |

Version data entries

79 entries across 79 versions & 1 rubygems

Version Path
smalruby-editor-0.1.11-x86-mingw32 spec/acceptance/block_mode/blocks/operators/true_false.feature
smalruby-editor-0.1.10-x86-mingw32 spec/acceptance/block_mode/blocks/operators/true_false.feature
smalruby-editor-0.1.10 spec/acceptance/block_mode/blocks/operators/true_false.feature
smalruby-editor-0.1.9-x86-mingw32 spec/acceptance/block_mode/blocks/operators/true_false.feature
smalruby-editor-0.1.9 spec/acceptance/block_mode/blocks/operators/true_false.feature
smalruby-editor-0.1.8-x86-mingw32 spec/acceptance/block_mode/blocks/operators/true_false.feature
smalruby-editor-0.1.8 spec/acceptance/block_mode/blocks/operators/true_false.feature
smalruby-editor-0.1.7-x86-mingw32 spec/acceptance/block_mode/blocks/operators/true_false.feature
smalruby-editor-0.1.7 spec/acceptance/block_mode/blocks/operators/true_false.feature
smalruby-editor-0.1.6-x86-mingw32 spec/acceptance/block_mode/blocks/operators/true_false.feature
smalruby-editor-0.1.6 spec/acceptance/block_mode/blocks/operators/true_false.feature
smalruby-editor-0.1.5-x86-mingw32 spec/acceptance/block_mode/blocks/operators/true_false.feature
smalruby-editor-0.1.5 spec/acceptance/block_mode/blocks/operators/true_false.feature
smalruby-editor-0.1.4-x86-mingw32 spec/acceptance/block_mode/blocks/operators/true_false.feature
smalruby-editor-0.1.4 spec/acceptance/block_mode/blocks/operators/true_false.feature
smalruby-editor-0.1.3-x86-mingw32 spec/acceptance/block_mode/blocks/operators/true_false.feature
smalruby-editor-0.1.3 spec/acceptance/block_mode/blocks/operators/true_false.feature
smalruby-editor-0.1.2-x86-mingw32 spec/acceptance/block_mode/blocks/operators/true_false.feature
smalruby-editor-0.1.2 spec/acceptance/block_mode/blocks/operators/true_false.feature