lib/ass_ole/snippets/shared/mapped.rb in ass_ole-snippets-shared-0.4.0 vs lib/ass_ole/snippets/shared/mapped.rb in ass_ole-snippets-shared-0.5.0
- old
+ new
@@ -20,10 +20,11 @@
end
end
# Snippet for worcking with 1C Map obect
module Map
+ is_ole_snippet
Shared.mapped_mixin self
# Returns new Map builded from hash
# @note If +key.is_a? Symbol+ key will be converts to +String+
# @return [WIN32OLE]
def map(hash_ = nil, **hash__)
@@ -32,9 +33,10 @@
end
end
# Snippet for worcking with 1C Structure obect
module Structure
+ is_ole_snippet
Shared.mapped_mixin self
# Returns new Structure builded from hash
# @note (see Map#map)
# @return [WIN32OLE]
def structure(hash_ = nil, **hash__)