Module: Pangrid::PluginUtils
- Included in:
- Plugin
- Defined in:
- lib/pangrid/utils.rb
Instance Method Summary collapse
Instance Method Details
#check(msg = "") ⇒ Object
4 5 6 |
# File 'lib/pangrid/utils.rb', line 4 def check(msg = "") raise PuzzleFormatError, msg unless yield end |