Method: Jekyll::LogAdapter#abort_with
- Defined in:
- lib/ngage/jekyll/log_adapter.rb
#abort_with(topic, message = nil, &block) ⇒ Object
Public: Print an error message and immediately abort the process
topic - the topic of the message, e.g. “Configuration file”, “Deprecation”, etc. message - the message detail (can be omitted)
Returns nothing
95 96 97 98 |
# File 'lib/ngage/jekyll/log_adapter.rb', line 95 def abort_with(topic, = nil, &block) error(topic, , &block) abort end |