Class: Numeric
- Inherits:
-
Object
- Object
- Numeric
- Defined in:
- lib/core_ext.rb
Instance Method Summary collapse
Instance Method Details
#to_bytehex ⇒ Object
70 71 72 |
# File 'lib/core_ext.rb', line 70 def to_bytehex self.to_s(16).rjust(2, '0').upcase end |