Sha256: d3555206ac50e1735fb92bc00c7170ed5875cca89771ad22b88b85cae561d91d

Contents?: true

Size: 627 Bytes

Versions: 7

Compression:

Stored size: 627 Bytes

Contents

# Copyright (c) 2023 M.J.N. Corino, The Netherlands
#
# This software is released under the MIT license.
# 
# Some parts are
# Copyright 2004-2007, wxRuby development team
# released under the MIT-like wxRuby2 license

# The root class for most (not all) WxRuby classes

class Wx::Object
  # Massage the output of inspect to show the public module name (Wx),
  # instead of the internal name (Wxruby2)
  # def to_s
  #   super.sub('ruby2', '')
  # end

  # Returns a string containing the C++ pointer address of this
  # object. Only useful for debugging.
  def ptr_addr
    Wx::ptr_addr(self)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
wxruby3-0.9.7-x64-mingw-ucrt lib/wx/core/object.rb
wxruby3-0.9.5-x64-mingw-ucrt lib/wx/core/object.rb
wxruby3-0.9.4-x64-mingw-ucrt lib/wx/core/object.rb
wxruby3-0.9.3-x64-mingw-ucrt lib/wx/core/object.rb
wxruby3-0.9.2-x64-mingw-ucrt lib/wx/core/object.rb
wxruby3-0.9.1-x64-mingw-ucrt lib/wx/core/object.rb
wxruby3-0.9.0-x64-mingw-ucrt lib/wx/core/object.rb