class Object

~~~~~~~~~~~~~~~~~~~~~~~~~~ class Object

def to_v
  Qt::Variant.new object_id
end

end

class Qt::Variant

def to_o
  ObjectSpace._id2ref to_int
end

end

Public Instance Methods

to_v() click to toggle source
# File lib/tmis/interface/mainwindow.rb, line 78
def to_v
  Qt::Variant.new(self)
end