class DBus::Data::DictEntry
Dictionary/Hash entry. TODO: shouldn't instantiate?
Public Class Methods
from_items(value, mode:, type:)
click to toggle source
@param value [::Array]
# File lib/dbus/data.rb, line 694 def self.from_items(value, mode:, type:) # rubocop:disable Lint/UnusedMethodArgument value.freeze # DictEntry ignores the :exact mode value end
from_typed(value, type:)
click to toggle source
@param value [::Object] (#size, each) @param type [Type] @return [DictEntry]
# File lib/dbus/data.rb, line 703 def self.from_typed(value, type:) new(value, type: type) end
type_code()
click to toggle source
# File lib/dbus/data.rb, line 689 def self.type_code "e" end