Refactored microwave Ruby bridge