Module: WIN32OLE_PP::Extentions::WIN32OLE_METHOD::PrettyPrint

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

Constant Summary collapse

PROPERTIES =
[
  :name,
  :dispid,
  :helpstring,
  :helpcontext,
  :helpfile,
  :invoke_kind,
  :invkind,
  :return_type,
  :return_type_detail,
  :return_vtype,
  :size_opt_params,
  :size_params,
  :offset_vtbl,
  :visible?,
  :event?,
  :event_interface,
  :params,
]

Instance Method Summary collapse

Methods included from Common::PrettyPrint

property_group

Methods included from Common::Utils

address_banner, type

Instance Method Details

#pretty_print(q) ⇒ Object



41
42
43
# File 'lib/win32ole_pp/extentions/win32ole_method.rb', line 41

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