Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设我们正在传递类似 :mash => true 的内容
现在在参数里面我想
takeit = 参数 [:mash]
takeit 是什么课?它当然不是布尔值。
感谢您的帮助。
这将是一个字符串。