Class: CARPS::Sheet::UserVerifier
- Inherits:
-
Object
- Object
- CARPS::Sheet::UserVerifier
- Defined in:
- lib/carps/mod/sheet/verifier.rb
Overview
Character sheet semantic verifier that asks the user if the sheet is true
Instance Method Summary collapse
-
#produce_errors(sheet) ⇒ Object
Produce errors if the sheet is incorrect.
Instance Method Details
#produce_errors(sheet) ⇒ Object
Produce errors if the sheet is incorrect
30 31 32 33 34 35 36 |
# File 'lib/carps/mod/sheet/verifier.rb', line 30 def produce_errors sheet text = sheet.emit puts text unless UI::confirm("Is the above character sheet correct?") ["User refused to accept sheet."] end end |