Class: XSD::XSDDouble
- Inherits:
-
XSDAnySimpleType
- Object
- NSDBase
- XSDAnySimpleType
- XSD::XSDDouble
- Includes:
- FloatConstants
- Defined in:
- lib/xsd/datatypes.rb
Overview
Ruby’s Float is double-precision 64-bit floating point value.
Direct Known Subclasses
Constant Summary collapse
- Type =
QName.new(Namespace, DoubleLiteral)
Constants included from FloatConstants
FloatConstants::MIN_POSITIVE_SINGLE, FloatConstants::NEGATIVE_INF, FloatConstants::NEGATIVE_ZERO, FloatConstants::NaN, FloatConstants::POSITIVE_INF, FloatConstants::POSITIVE_ZERO
Constants included from XSD
AnySimpleTypeLiteral, AnySimpleTypeName, AnyTypeLiteral, AnyTypeName, AnyURILiteral, AttrNilName, AttrType, AttrTypeName, Base64BinaryLiteral, BooleanLiteral, ByteLiteral, DateLiteral, DateTimeLiteral, DecimalLiteral, DoubleLiteral, DurationLiteral, ENTITIESLiteral, ENTITYLiteral, FloatLiteral, GDayLiteral, GMonthDayLiteral, GMonthLiteral, GYearLiteral, GYearMonthLiteral, HexBinaryLiteral, IDLiteral, IDREFLiteral, IDREFSLiteral, InstanceNamespace, IntLiteral, IntegerLiteral, LanguageLiteral, LongLiteral, NCNameLiteral, NMTOKENLiteral, NMTOKENSLiteral, NameLiteral, Namespace, NegativeIntegerLiteral, NilLiteral, NilValue, NonNegativeIntegerLiteral, NonPositiveIntegerLiteral, NormalizedStringLiteral, PositiveIntegerLiteral, QNameLiteral, ShortLiteral, StringLiteral, TimeLiteral, TokenLiteral, UnsignedByteLiteral, UnsignedIntLiteral, UnsignedLongLiteral, UnsignedShortLiteral
Instance Attribute Summary
Attributes inherited from XSDAnySimpleType
Attributes inherited from NSDBase
Instance Method Summary collapse
-
#initialize(value = nil) ⇒ XSDDouble
constructor
A new instance of XSDDouble.
Methods inherited from XSDAnySimpleType
#check_lexical_format, #set, #to_s
Methods inherited from NSDBase
Constructor Details
#initialize(value = nil) ⇒ XSDDouble
Returns a new instance of XSDDouble.
386 387 388 |
# File 'lib/xsd/datatypes.rb', line 386 def initialize(value = nil) init(Type, value) end |