class BCDice::CommonCommand::BarabaraDice::Result
バラバラロールの結果を表すクラス
Attributes
last_dice_list[RW]
@return [Array<Integer>] すべての出目が格納される配列
last_dice_list_list[RW]
@return [Array<Array<Integer>>] 出目のグループの配列
success_num[RW]
@return [Integer] 成功数
Public Class Methods
new(text = nil)
click to toggle source
@param text [String, nil] 結果の文章
Calls superclass method
BCDice::Result::new
# File lib/bcdice/common_command/barabara_dice/result.rb, line 18 def initialize(text = nil) super(text) @last_dice_list_list = [] @last_dice_list = [] @success_num = 0 end