Method: Transpec::Syntax::MethodStub#remove_useless_and_return!
- Defined in:
- lib/transpec/syntax/method_stub.rb
#remove_useless_and_return! ⇒ Object
88 89 90 91 |
# File 'lib/transpec/syntax/method_stub.rb', line 88 def remove_useless_and_return! return unless super add_record(Mixin::UselessAndReturn::MonkeyPatchRecordBuilder.build(self)) end |