Class: Babeltrace2::BTValue::Null

Inherits:
Babeltrace2::BTValue show all
Includes:
Singleton
Defined in:
lib/babeltrace2/value.rb

Constant Summary

Constants inherited from Babeltrace2::BTValue

ArrayAppendElementStatus, ArraySetElementByIndexStatus, IntegerSigned, IntegerUnsigned, MapExtendStatus, MapForeachEntryConstFuncStatus, MapForeachEntryConstStatus, MapForeachEntryFuncStatus, MapForeachEntryStatus, StringSetStatus, TYPE_MAP

Instance Attribute Summary

Attributes inherited from Babeltrace2::BTObject

#handle

Instance Method Summary collapse

Methods inherited from Babeltrace2::BTValue

#copy, from_handle, from_value, #get_type, #is_equal, #to_s

Methods inherited from Babeltrace2::BTSharedObject

inherited

Methods inherited from Babeltrace2::BTObject

#==, #to_ptr

Constructor Details

#initializeNull

Returns a new instance of Null.



134
135
136
# File 'lib/babeltrace2/value.rb', line 134

def initialize
  super(Babeltrace2.bt_value_null, retain: false, auto_release: false)
end

Instance Method Details

#valueObject



138
139
140
# File 'lib/babeltrace2/value.rb', line 138

def value
  nil
end