Class: Mikunyan::BaseObject
- Inherits:
-
ObjectValue
- Object
- ObjectValue
- Mikunyan::BaseObject
- Defined in:
- lib/mikunyan/base_object.rb
Overview
Class for representing decoded base object
Direct Known Subclasses
Instance Attribute Summary collapse
-
#object_entry ⇒ Object
Returns the value of attribute object_entry.
Attributes inherited from ObjectValue
#attr, #endian, #is_struct, #name, #type, #value
Instance Method Summary collapse
Methods inherited from ObjectValue
#[], #[]=, #array?, #initialize, #key?, #keys, #method_missing, #respond_to_missing?, #simplify, #struct?, #value?
Constructor Details
This class inherits a constructor from Mikunyan::ObjectValue
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Mikunyan::ObjectValue
Instance Attribute Details
#object_entry ⇒ Object
Returns the value of attribute object_entry.
8 9 10 |
# File 'lib/mikunyan/base_object.rb', line 8 def object_entry @object_entry end |
Instance Method Details
#object_name ⇒ Object
14 15 16 |
# File 'lib/mikunyan/base_object.rb', line 14 def object_name @attr['m_Name']&.value end |
#path_id ⇒ Object
10 11 12 |
# File 'lib/mikunyan/base_object.rb', line 10 def path_id @object_entry&.path_id end |