Module: MarshalParser::Assertable
- Included in:
- Parser, Parser::Node
- Defined in:
- lib/marshal-parser/assertable.rb
Instance Method Summary collapse
Instance Method Details
#assert(boolean, message) ⇒ Object
5 6 7 |
# File 'lib/marshal-parser/assertable.rb', line 5 def assert(boolean, ) raise "Assert failed: #{}" unless boolean end |