Class: Fixnum

Inherits:
Object
  • Object
show all
Defined in:
lib/do_as_rb19.rb

Overview

为数字类添加ord方法

Instance Method Summary collapse

Instance Method Details

#ordObject


29
30
31
# File 'lib/do_as_rb19.rb', line 29

def ord
  self
end