lib/games_dice.rb in games_dice-0.2.0 vs lib/games_dice.rb in games_dice-0.2.1
- old
+ new
@@ -9,9 +9,10 @@
require "games_dice/bunch"
require "games_dice/dice"
require "games_dice/parser"
module GamesDice
+ # @!visibility private
@@parser = GamesDice::Parser.new
def self.create dice_description, prng = nil
parsed = @@parser.parse( dice_description )
GamesDice::Dice.new( parsed[:bunches], parsed[:offset], prng )