1
0
mirror of https://github.com/safiire/n65.git synced 2024-12-13 06:29:16 +00:00

Trying to re-organize my classes, and add a base class for objects which can emit_bytes to the ROM

This commit is contained in:
Safiire 2015-02-24 17:37:00 -08:00
parent 3dc1c22aae
commit 8f01494fbb

14
lib/emits_bytes.rb Normal file
View File

@ -0,0 +1,14 @@
module Assembler6502
####
## This is a base class for anything which can emit bytes
class EmitsBytes
def emit_bytes
fail(NotImplementedError, "#{self.class} must implement emit_bytes")
end
end
end