Module: WIN32OLE_PP::Extentions::WIN32OLE_PARAM::PrettyPrint

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

Constant Summary collapse

PROPERTIES =
[
  :name,
  :ole_type,
  :ole_type_detail,
  :default,
  :input?,
  :output?,
  :optional?,
  :retval?,
]

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



43
44
45
# File 'lib/win32ole_pp/extentions/win32ole_param.rb', line 43

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