method
new
rspec latest stable - Class:
Spec::Matchers::ThrowSymbol
new(expected_symbol = nil, expected_arg=nil)public
No documentation available.
# File lib/spec/matchers/throw_symbol.rb, line 5
def initialize(expected_symbol = nil, expected_arg=nil)
@expected_symbol = expected_symbol
@expected_arg = expected_arg
@caught_symbol = @caught_arg = nil
end