Class: BCDice::DiceTable::RangeTable::Item

Inherits:
Struct
  • Object
show all
Defined in:
lib/bcdice/dice_table/range_table.rb

Overview

表の項目を表す構造体

Instance Attribute Summary collapse

Instance Attribute Details

#contentObject

Returns 内容.

Returns:

  • (Object)

    内容



53
# File 'lib/bcdice/dice_table/range_table.rb', line 53

Item = Struct.new(:range, :content)

#rangeRange

Returns 出目の合計の範囲.

Returns:

  • (Range)

    出目の合計の範囲



53
# File 'lib/bcdice/dice_table/range_table.rb', line 53

Item = Struct.new(:range, :content)