class Babeltrace2::BTObject

Attributes

handle[R]

Public Class Methods

new(handle) click to toggle source
# File lib/babeltrace2/types.rb, line 564
def initialize(handle)
  raise "Invalid handle" if !handle
  @handle = handle
end

Public Instance Methods

==(other) click to toggle source
# File lib/babeltrace2/types.rb, line 573
def ==(other)
  @handle == other.handle
end
to_ptr() click to toggle source
# File lib/babeltrace2/types.rb, line 569
def to_ptr
  @handle
end