Module: MacSpec::MockingFramework::KernelExtension
- Defined in:
- lib/mac_spec/mocking_framework/extensions/kernel_extension.rb
Instance Method Summary collapse
Instance Method Details
#mock(name, options = {}) ⇒ Object
4 5 6 7 8 9 |
# File 'lib/mac_spec/mocking_framework/extensions/kernel_extension.rb', line 4 def mock(name, ={}) = {} [:null_object] = .delete(:null_object) [:stubs] = MacSpec::MockingFramework::Mock.new(name,) end |