Module: AssOle::Snippets::Shared::Structure

Defined in:
lib/ass_ole/snippets/shared/mapped.rb

Overview

Snippet for worcking with 1C Structure obect

Instance Method Summary collapse

Instance Method Details

#structure(hash_ = nil, **hash__) ⇒ WIN32OLE

Note:

If key.is_a? Symbol key will be converts to String

Returns new Structure builded from hash

Returns:

  • (WIN32OLE)


35
36
37
38
# File 'lib/ass_ole/snippets/shared/mapped.rb', line 35

def structure(hash_ = nil, **hash__)
  hash_ = hash__ if hash_.nil?
  _hash_to_object(hash_, newObject('Structure'))
end