lib/cinch/plugins/dicebag/bag.rb
# Simple method to return a flavor text 'size' description based on
#   how many dice you happened to get in your dicebag roll.
# @param [Fixnum] size The number of dice in the dicebag.
# @return [String] Description of the size of the bag.
Simple method to return a flavor text 'size' description based on
how many dice you happened to get in your dicebag roll.
Simple method to return a flavor text ' size ' description based on how many dice you happened to get in your dicebag roll .
def size
          case
          when @count < 1000 then 'tiny'
          when @count < 2000 then 'small'
          when @count < 3000 then 'medium'
          when @count < 4000 then 'large'
          when @count < 5000 then 'hefty'
          else 'massive'
          end
        end
def size case when @count < 1000 then 'tiny' when @count < 2000 then 'small' when @count < 3000 then 'medium' when @count < 4000 then 'large' when @count < 5000 then 'hefty' else 'massive' end end
Simple method to return a flavor text 'size' description based on
how many dice you happened to get in your dicebag roll.
Simple method to return a flavor text ' size ' description based on how many dice you happened to get in your dicebag roll .
Description of the size of the bag.
Description of the size of the bag .
String
<not_specific>
size The number of dice in the dicebag.
size The number of dice in the dicebag .