Module: WIN32OLE_PP::Extentions::WIN32OLE_TYPE::PrettyPrint

Includes:
Common::PrettyPrint, Common::Utils
Defined in:
lib/win32ole_pp/extentions/win32ole_type.rb

Constant Summary collapse

PROPERTIES =
(::WIN32OLE_TYPE.instance_methods - Object.instance_methods).sort

Instance Method Summary collapse

Methods included from Common::PrettyPrint

property_group

Methods included from Common::Utils

address_banner

Instance Method Details

#pretty_print(q) ⇒ Object



22
23
24
# File 'lib/win32ole_pp/extentions/win32ole_type.rb', line 22

def pretty_print(q)
  property_group(q, address_banner(name), PROPERTIES.map{|e| [e, send(e)] })
end