Line interception

Well ... this is my interception method. Whatever you think I should change just tell me.
Can this be an elsif?