我如何给 #{self.o_cord.name} 和 #{self.o_product.full_name} 一个内联样式,使其背景颜色变为橙色?它们在一个 .rb 文件中,我不确定这是否会改变任何东西。提前致谢!
if self.o_connection.dongle?
return "Plug the #{self.o_cord.name} end of the #{self.o_product.full_name} into the #{self.i_product.full_name}."