# File lib/mspec/runner/context.rb, line 15
15:   def initialize(mod, options=nil)
16:     @to_s = mod.to_s
17:     if options.is_a? Hash
18:       @options = options
19:     else
20:       @to_s += "#{".:#".include?(options[0,1]) ? "" : " "}#{options}" if options
21:       @options = { }
22:     end
23:     @options[:shared] ||= false
24: 
25:     @parsed   = false
26:     @before   = { :all => [], :each => [] }
27:     @after    = { :all => [], :each => [] }
28:     @pre      = {}
29:     @post     = {}
30:     @examples = []
31:     @parent   = nil
32:     @parents  = [self]
33:     @children = []
34: 
35:     @mock_verify         = Proc.new { Mock.verify_count }
36:     @mock_cleanup        = Proc.new { Mock.cleanup }
37:     @expectation_missing = Proc.new { raise SpecExpectationNotFoundError }
38:   end