Class: RMasm::SymbolModifier
Instance Attribute Summary collapse
-
#size ⇒ Object
readonly
Returns the value of attribute size.
-
#symbol ⇒ Object
readonly
Returns the value of attribute symbol.
Attributes inherited from Modifier
Instance Method Summary collapse
-
#initialize(symbol, size) ⇒ SymbolModifier
constructor
A new instance of SymbolModifier.
Methods inherited from Modifier
Constructor Details
#initialize(symbol, size) ⇒ SymbolModifier
Returns a new instance of SymbolModifier.
42 43 44 45 46 |
# File 'lib/rmasm/modifier.rb', line 42 def initialize(symbol,size) super :symbol @symbol = symbol @size = size end |