Methods

Yapra::Plugin::Test::RaiseError

Public Instance Methods

run(data) click to toggle source
# File lib-plugins/yapra/plugin/test/raise_error.rb, line 5
def run(data)
  message = config['message'] || 'Error.'
  raise message
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.