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 379 def self.alignment 8 end
format()
click to toggle source
# File lib/dbus/data.rb, line 384 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 390 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 375 def self.type_code "d" end