Module: RSpec::Puppet::FunctionMatchers
- Included in:
- FunctionExampleGroup
- Defined in:
- lib/rspec-puppet/matchers/dynamic_matchers.rb,
lib/rspec-puppet/matchers/run.rb
Defined Under Namespace
Classes: Run
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args, &block) ⇒ Object
12 13 14 15 |
# File 'lib/rspec-puppet/matchers/dynamic_matchers.rb', line 12 def method_missing(method, *args, &block) return RSpec::Puppet::FunctionMatchers::Run.new if method == :run super end |