Class: RMasm::Modifier
Direct Known Subclasses
SymbolModifier, X86Assembler::SegmentModifier, X86Assembler::SizeModifier
Instance Attribute Summary collapse
-
#type ⇒ Object
Returns the value of attribute type.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
- #<<(arg) ⇒ Object
- #[](arg) ⇒ Object
-
#initialize(type) ⇒ Modifier
constructor
A new instance of Modifier.
Constructor Details
#initialize(type) ⇒ Modifier
Returns a new instance of Modifier.
24 25 26 27 |
# File 'lib/rmasm/modifier.rb', line 24 def initialize(type) @type = type @value = [] end |