move parfait up one, as per its module structure
This commit is contained in:
17
lib/parfait/binary_code.rb
Normal file
17
lib/parfait/binary_code.rb
Normal file
@ -0,0 +1,17 @@
|
||||
# A typed method object is a description of the method, it's name etc
|
||||
#
|
||||
# But the code that the method represents, the binary, is held as an array
|
||||
# in one of these.
|
||||
#
|
||||
|
||||
module Parfait
|
||||
# obviously not a "Word" but a ByteArray , but no such class yet
|
||||
# As our String (Word) on the other hand has no encoding (yet) it is close enough
|
||||
class BinaryCode < Word
|
||||
|
||||
def to_s
|
||||
"BinaryCode #{self.char_length}"
|
||||
end
|
||||
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user