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
-
#structure(hash_ = nil, **hash__) ⇒ WIN32OLE
Returns new Structure builded from hash.
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
41 42 43 44 |
# File 'lib/ass_ole/snippets/shared/mapped.rb', line 41 def structure(hash_ = nil, **hash__) hash_ = hash__ if hash_.nil? _hash_to_object(hash_, newObject('Structure')) end |