Module: Spec::Mocks::Methods
- Defined in:
- lib/rujitsu/grammar.rb
Defined Under Namespace
Classes: GrammarException
Instance Method Summary collapse
Instance Method Details
#should_recieve(sym, opts = {}, &block) ⇒ Object
6 7 8 |
# File 'lib/rujitsu/grammar.rb', line 6 def should_recieve(sym, opts={}, &block) raise GrammarException, "Oi! i before e except after c." end |