class BCDice::GameSystem::OneWayHeroics::BranchByElapsedDays
Public Instance Methods
branch_result(value, day)
click to toggle source
# File lib/bcdice/game_system/one_way_heroics/random_event_table.rb, line 80 def branch_result(value, day) if value > day "日数[#{day}]を超えている" else "日数[#{day}]以下" end end
choise(value, day)
click to toggle source
# File lib/bcdice/game_system/one_way_heroics/random_event_table.rb, line 76 def choise(value, day) value > day ? @greater : @less_than_equal end