Method: PDUTools::PDU#initialize
- Defined in:
- lib/pdu_tools/pdu.rb
#initialize(pdu_hex) ⇒ PDU
Returns a new instance of PDU.
4 5 6 |
# File 'lib/pdu_tools/pdu.rb', line 4 def initialize pdu_hex @pdu_hex = pdu_hex end |
Returns a new instance of PDU.
4 5 6 |
# File 'lib/pdu_tools/pdu.rb', line 4 def initialize pdu_hex @pdu_hex = pdu_hex end |