Method: Transpec::Syntax::Receive#remove_useless_and_return!
- Defined in:
- lib/transpec/syntax/receive.rb
#remove_useless_and_return! ⇒ Object
17 18 19 20 21 |
# File 'lib/transpec/syntax/receive.rb', line 17 def remove_useless_and_return! removed = super return unless removed report.records << ReceiveUselessAndReturnRecord.new(self) end |