Class: BCDice::CommonCommand::AddDice::Node::DiceRollWithFilter::Filter
- Inherits:
-
Struct
- Object
- Struct
- BCDice::CommonCommand::AddDice::Node::DiceRollWithFilter::Filter
- Defined in:
- lib/bcdice/common_command/add_dice/node.rb
Overview
フィルタの構造体
各フィルタには、あらかじめソートされた出目の配列が渡される。
Instance Attribute Summary collapse
-
#abbr ⇒ Symbol
フィルタの略称.
-
#apply ⇒ Proc
フィルタ処理の内容.
Instance Attribute Details
#abbr ⇒ Symbol
Returns フィルタの略称.
468 |
# File 'lib/bcdice/common_command/add_dice/node.rb', line 468 Filter = Struct.new(:abbr, :apply) |
#apply ⇒ Proc
Returns フィルタ処理の内容.
468 |
# File 'lib/bcdice/common_command/add_dice/node.rb', line 468 Filter = Struct.new(:abbr, :apply) |