class Rex::Poly::InvalidRegisterError
An exception that is raised when the regnum method is accessed on a LogicalRegister
that does not currently have a regnum assigned to it.
Attributes
reg[R]
The LogicalRegister
instance that generated the exception.
Public Class Methods
new(reg)
click to toggle source
Initializes the exception with the instance that lead to the generation of the exception such that it can be assigned a register number as needed.
# File lib/rex/poly/register.rb, line 88 def initialize(reg) @reg = reg end