Class: Indis::BinaryArchitecture::Architecture
- Inherits:
-
Object
- Object
- Indis::BinaryArchitecture::Architecture
- Defined in:
- lib/indis-core/binary_architecture.rb
Overview
Base class for any binary architecture
Class Method Summary collapse
-
.name ⇒ Symbol
abstract
Symbolicated name of the architecture.
Instance Method Summary collapse
-
#initialize(target) ⇒ Architecture
constructor
Basic constructor takes care of storing the target.
Constructor Details
#initialize(target) ⇒ Architecture
Basic constructor takes care of storing the target
37 38 39 |
# File 'lib/indis-core/binary_architecture.rb', line 37 def initialize(target) @target = target end |
Class Method Details
.name ⇒ Symbol
This method is abstract.
Returns the format magic bytes.
Returns symbolicated name of the architecture.
44 45 46 |
# File 'lib/indis-core/binary_architecture.rb', line 44 def self.name raise RuntimeError, "#name not implemented in architecture #{self.class}" end |