Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Test
- def save
- true
- end
- end
- @gateway = Test.new
- @gateway2 = Test.new
- @gateway3 = Test.new
- if @gateway.save && @gateway2.save && @gateway3.save && (@gateway4.nil? ? true : @gateway4.save)
- puts "OK"
- end
Add Comment
Please, Sign In to add comment