class DBus::Data::Double
Double-precision floating point number.
Constants
- FORMAT
Public Class Methods
alignment()
click to toggle source
# File lib/dbus/data.rb, line 380 def self.alignment 8 end
format()
click to toggle source
# File lib/dbus/data.rb, line 385 def self.format FORMAT end
new(value)
click to toggle source
@param value [#to_f,DBus::Data::Double] @raise TypeError,ArgumentError
Calls superclass method
DBus::Data::Base::new
# File lib/dbus/data.rb, line 391 def initialize(value) value = value.value if value.is_a?(self.class) value = Kernel.Float(value) super(value) end
type_code()
click to toggle source
# File lib/dbus/data.rb, line 376 def self.type_code "d" end