Class: Dvi::Opcode::ChangeRegister
- Inherits:
-
ChangeRegister0
- Object
- Base
- ChangeRegister0
- Dvi::Opcode::ChangeRegister
- Defined in:
- lib/dvi/opcode.rb
Instance Attribute Summary collapse
-
#size ⇒ Object
readonly
Returns the value of attribute size.
Instance Method Summary collapse
-
#initialize(size) ⇒ ChangeRegister
constructor
A new instance of ChangeRegister.
Methods inherited from ChangeRegister0
Methods inherited from Base
#interpret, range, read, set_range
Constructor Details
#initialize(size) ⇒ ChangeRegister
Returns a new instance of ChangeRegister.
219 220 221 |
# File 'lib/dvi/opcode.rb', line 219 def initialize(size) @size = size end |
Instance Attribute Details
#size ⇒ Object (readonly)
Returns the value of attribute size.
217 218 219 |
# File 'lib/dvi/opcode.rb', line 217 def size @size end |