返回顶部

收藏

Integer is an instance of the Fixnum class, which inherits the Integer class.

更多
x = 100

x.class # => Fixnum

标签:Ruby,Number

收藏

0人收藏

支持

0

反对

0

»更多 您可能感兴趣的代码
  1. 2016-02-19 09:28:45Simulating a Subclass of Fixnum by jeffsui
  2. 2016-03-05 09:26:04Comparable operator on rational numbers by 永明
  3. 2016-03-21 15:09:13Add double_upto method to Fixnum by 永明
  4. 2016-04-24 15:03:21Number parser by regular expressons by 好好学习啊
  5. 2016-08-28 17:51:55convert a string by 永明
  6. 2016-08-29 09:26:06puts 120.chr by 永明
  7. 2016-08-29 13:00:35Use each method from Prime class by JustForFly
  8. 2016-09-07 15:58:28Bit and, or by jeffsui
  9. 2016-10-26 09:14:22Is it between a range by LeoSun
  10. 2016-11-16 18:54:42convert string to oct by jeffsui
  11. 2017-12-11 17:37:06表变量,代替临时表 by xuleaper

发表评论