Ruby变量常量

全局变量:以$开头

实例变量:以@开头  @cust_id=id

Ruby 常量: 常量以大写字母开头

原文地址:https://www.cnblogs.com/wanghouxuan/p/7097519.html