lib/mocktail/dsl.rb in mocktail-1.2.3 vs lib/mocktail/dsl.rb in mocktail-2.0.0

- old
+ new

@@ -1,6 +1,8 @@ module Mocktail module DSL + extend T::Sig + def stubs(ignore_block: false, ignore_extra_args: false, ignore_arity: false, times: nil, &demo) RegistersStubbing.new.register(demo, DemoConfig.new( ignore_block: ignore_block, ignore_extra_args: ignore_extra_args, ignore_arity: ignore_arity,