Module: WIN32OLE_PP::Extentions::WIN32OLE_VARIABLE::PrettyPrint

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

Constant Summary collapse

PROPERTIES =
[
  :name,
  :value,
  :ole_type,
  :ole_type_detail,
  :variable_kind,
  :varkind,
  :visible?,
]

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



27
28
29
# File 'lib/win32ole_pp/extentions/win32ole_variable.rb', line 27

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