新浦京娱乐场官网A few of Ruby's assignment operat

2019-06-19 20:02栏目:技术创新

x = 12 # assignment
puts x  = 1 # abbreviated assignment add
puts x -= 1 # abbreviated assignment subtract
puts x *= 2 # abbreviated assignment multiply
puts x /= 2 # abbreviated assignment divide

版权声明:本文由新浦京娱乐站_新浦京娱乐场官网_新浦京娱乐发布于技术创新,转载请注明出处:新浦京娱乐场官网A few of Ruby's assignment operat