Sha256: 04348f44e583eee8f94d9a15c051e6e5ff28337b95ca8dc71a8f16e49d69bc10

Contents?: true

Size: 384 Bytes

Versions: 9

Compression:

Stored size: 384 Bytes

Contents

# 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

9 entries across 9 versions & 1 rubygems

Version Path
wxruby3-0.9.0.pre.rc.3 lib/wx/core/object.rb
wxruby3-0.9.0.pre.rc.2 lib/wx/core/object.rb
wxruby3-0.9.0.pre.rc.1 lib/wx/core/object.rb
wxruby3-0.9.0.pre.beta.14 lib/wx/core/object.rb
wxruby3-0.9.0.pre.beta.13 lib/wx/core/object.rb
wxruby3-0.9.0.pre.beta.11 lib/wx/core/object.rb
wxruby3-0.9.0.pre.beta.10 lib/wx/core/object.rb
wxruby3-0.9.0.pre.beta.9 lib/wx/core/object.rb
wxruby3-0.9.0.pre.beta.8 lib/wx/core/object.rb