class Plympton::Block
Class responsible for parsing a YAML serialized block object
Attributes
endEA[RW]
YAML Entries
numInstructions[RW]
YAML Entries
startEA[RW]
YAML Entries
Public Instance Methods
to_s()
click to toggle source
Convenience method for printing a block @return [String] A string representation of a block object
# File lib/plympton/block.rb, line 15 def to_s() "#{self.class} (#{self.__id__}): Start Address: #{startEA}, End Address #{endEA}, No. of Instructions: #{numInstructions}" end
to_yaml_type()
click to toggle source
Defines the objects YAML tag @return [String] A string signifying the start of an object of this class
# File lib/plympton/block.rb, line 9 def to_yaml_type "!fuzz.io,2011/Block" end