Class: RMasm::BinaryDirective

Inherits:
Directive show all
Includes:
IBinIOWriter
Defined in:
lib/rmasm/directive.rb

Overview

A binary directive is able to translate to a binary representation in order to store them in a section

Direct Known Subclasses

DataItem

Instance Attribute Summary

Attributes inherited from Directive

#id

Instance Method Summary collapse

Methods included from IBinIOWriter

#_binary_read, #_binary_write, #binary_read, #binary_write, #from_binary, #to_binary

Methods inherited from Directive

#fetch

Constructor Details

#initialize(id) ⇒ BinaryDirective

Returns a new instance of BinaryDirective.



51
52
53
# File 'lib/rmasm/directive.rb', line 51

def initialize(id)
  super id
end