Method: RSpec::RubyContentMatchers::IncludeModule#initialize

Defined in:
lib/code_spec/matchers/include_module.rb

#initialize(module_name, type = nil) ⇒ IncludeModule

Returns a new instance of IncludeModule.



5
6
7
8
# File 'lib/code_spec/matchers/include_module.rb', line 5

def initialize module_name, type=nil
  @module_name = module_name.to_s.camelize
  @type = type || :include
end