Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/atem/network.rb
Instance Method Summary collapse
Instance Method Details
#to_hex ⇒ Object
5 6 7 |
# File 'lib/atem/network.rb', line 5 def to_hex self.bytes.map{|a|"0x" + a.to_s(16)}.join(" ") end |