--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Given a Symbol argument, matches if a proc throws the specified Symbol.
- !ruby/struct:SM::Flow::P 
  body: Given no argument, matches if a proc throws any Symbol.
- !ruby/struct:SM::Flow::H 
  level: 2
  text: Examples
- !ruby/struct:SM::Flow::VERB 
  body: "  lambda { do_something_risky }.should throw_symbol\n  lambda { do_something_risky }.should throw_symbol(:that_was_risky)\n\n  lambda { do_something_risky }.should_not throw_symbol\n  lambda { do_something_risky }.should_not throw_symbol(:that_was_risky)\n"
full_name: Spec::Matchers#throw_symbol
is_singleton: false
name: throw_symbol
params: |
  should throw_symbol()
  should throw_symbol(:sym)
  should_not throw_symbol()
  should_not throw_symbol(:sym)

visibility: public
