Class: RMasm::DataDefault
Overview
Constant Summary collapse
- VALUE =
0
Instance Attribute Summary
Attributes inherited from Stacker
Instance Method Summary collapse
-
#initialize(*args) ⇒ DataDefault
constructor
Initialize alignment.
-
#to_s ⇒ Object
Friendly to string.
Methods inherited from Stacker
Constructor Details
#initialize(*args) ⇒ DataDefault
Initialize alignment. The Align can be intialized with a stack : Align.new(1,2,4,8)
60 61 62 |
# File 'lib/rmasm/data_core.rb', line 60 def initialize(*args) super VALUE, *args end |
Instance Method Details
#to_s ⇒ Object
Friendly to string
65 66 67 |
# File 'lib/rmasm/data_core.rb', line 65 def to_s() "Default Value, value = #{value}, stack = [#{stack * ' , '})]" end |