Class: Numeric

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

Overview

Monkey patch, sorry

Instance Method Summary collapse

Instance Method Details

#to_shexObject

Helper to display hex number as string



26
27
28
# File 'lib/neotrellis/seesaw.rb', line 26

def to_shex
	"0x%02X" % [self]
end