module Pangrid::PluginUtils
Public Instance Methods
check(msg = "") { || ... }
click to toggle source
# File lib/pangrid/utils.rb, line 4 def check(msg = "") raise PuzzleFormatError, msg unless yield end
# File lib/pangrid/utils.rb, line 4 def check(msg = "") raise PuzzleFormatError, msg unless yield end