Class: Udb::InstructionType
- Inherits:
-
TopLevelDatabaseObject
- Object
- DatabaseObject
- TopLevelDatabaseObject
- Udb::InstructionType
- Defined in:
- lib/udb/obj/instruction.rb
Instance Attribute Summary
Attributes inherited from DatabaseObject
#arch, #data, #data_path, #long_name, #name
Instance Method Summary collapse
-
#initialize(data, data_path, arch) ⇒ InstructionType
constructor
A new instance of InstructionType.
- #length ⇒ Object
- #size ⇒ Object
Methods inherited from TopLevelDatabaseObject
create_json_schemer_resolver, #key?, #keys, #validate
Methods inherited from DatabaseObject
#<=>, #__source, #cfg_arch, #cfg_arch?, #clone, #defer, #defined_by_condition, #description, #inspect, #kind, #source_line
Constructor Details
#initialize(data, data_path, arch) ⇒ InstructionType
Returns a new instance of InstructionType.
23 24 25 |
# File 'lib/udb/obj/instruction.rb', line 23 def initialize(data, data_path, arch) super(data, data_path, arch) end |
Instance Method Details
#length ⇒ Object
27 |
# File 'lib/udb/obj/instruction.rb', line 27 def length = @data["length"] |
#size ⇒ Object
28 |
# File 'lib/udb/obj/instruction.rb', line 28 def size = length |