Module: WIN32OLE_PP::Extentions::Common::Utils
- Included in:
- PrettyPrintBase, ToStringBase
- Defined in:
- lib/win32ole_pp/extentions/common.rb
Class Method Summary collapse
Class Method Details
.address_banner(subname = nil) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/win32ole_pp/extentions/common.rb', line 8 def (subname = nil) if subname "%s:0x%x: %s" % [self.class, object_id << 1, subname] else "%s:0x%x" % [self.class, object_id << 1] end end |