Class: Baikal::Hexdump::Field

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

Overview

Represents a particular field of a hexdump format. Abstract class; see Field::Offset, Field::Decoration, and Field::Data as practical hexdump fields.

Direct Known Subclasses

Data, Decoration, Offset

Defined Under Namespace

Classes: Data, Decoration, Offset

Instance Method Summary collapse

Instance Method Details

#format(row) ⇒ Object

Returns a string representing this field’s contribution to dumping row, an instance of Hexdump::Row



62
63
# File 'lib/baikal/hexdump.rb', line 62

def format row
end