Class: JavaClass::ClassFile::Constants::ConstantFloat
- 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) ⇒ ConstantFloat
constructor
A new instance of ConstantFloat.
- #to_s ⇒ Object
Methods inherited from Base
#const_class?, #const_field?, #const_method?
Constructor Details
#initialize(pool, data, start) ⇒ ConstantFloat
Returns a new instance of ConstantFloat.
61 62 63 64 65 |
# File 'lib/javaclass/classfile/constants/value.rb', line 61 def initialize(pool, data, start) super() silence_unused_warning(pool) @value = get_value(data, start, 5).single end |