Class: JavaClass::ClassFile::Constants::ConstantInt
- Defined in:
- lib/javaclass/classfile/constants/value.rb
Overview
ZenTest SKIP
Instance Attribute Summary
Attributes inherited from Value
Attributes inherited from Base
Instance Method Summary collapse
- #dump ⇒ Object
-
#initialize(pool, data, start) ⇒ ConstantInt
constructor
A new instance of ConstantInt.
Methods inherited from Value
Constructor Details
#initialize(pool, data, start) ⇒ ConstantInt
Returns a new instance of ConstantInt.
47 48 49 50 51 |
# File 'lib/javaclass/classfile/constants/value.rb', line 47 def initialize(pool, data, start) super() silence_unused_warning(pool) @value = get_value(data, start, 5).u4 end |
Instance Method Details
#dump ⇒ Object
53 54 55 |
# File 'lib/javaclass/classfile/constants/value.rb', line 53 def dump super + ';' end |