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

Includes:
Common::PrettyPrintBase
Defined in:
lib/win32ole_pp/extentions/win32ole_type.rb

Constant Summary collapse

PROPERTIES =
[
  :name,
  :guid,
  :helpstring,
  :helpcontext,
  :helpfile,
  :major_version,
  :minor_version,
  :ole_methods,
  :ole_type,
  :typekind,
  :progid,
  :src_type,
  :visible?,
  :variables,
]

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



34
35
36
# File 'lib/win32ole_pp/extentions/win32ole_type.rb', line 34

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