Class: JavaClass::ClassFile::Constants::ConstantDouble
- 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) ⇒ ConstantDouble
constructor
A new instance of ConstantDouble.
- #to_s ⇒ Object
Methods inherited from Base
#const_class?, #const_field?, #const_method?
Constructor Details
#initialize(pool, data, start) ⇒ ConstantDouble
Returns a new instance of ConstantDouble.
91 92 93 94 95 |
# File 'lib/javaclass/classfile/constants/value.rb', line 91 def initialize(pool, data, start) super() silence_unused_warning(pool) @value = get_value(data, start, 9, 2).double end |