Module: RSpec::Puppet::ManifestMatchers
- Extended by:
- Matchers::DSL
- Included in:
- ClassExampleGroup, DefineExampleGroup, HostExampleGroup
- Defined in:
- lib/rspec-puppet/matchers/create_resource.rb,
lib/rspec-puppet/matchers/create_generic.rb,
lib/rspec-puppet/matchers/include_class.rb
Defined Under Namespace
Classes: CreateGeneric
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args, &block) ⇒ Object
128 129 130 131 |
# File 'lib/rspec-puppet/matchers/create_generic.rb', line 128 def method_missing(method, *args, &block) return RSpec::Puppet::ManifestMatchers::CreateGeneric.new(method, *args, &block) if method.to_s =~ /^(create|contain)_/ super end |