Module: AssOle::Snippets Private

Defined in:
lib/ass_ole/snippets.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Helpers for transparency and friendly execute 1C:Enterprise Ole connectors methods as methods a Ryby objects and makes easy for use ruby wrappers over the long and awkward 1C:Enterprise embedded programming language syntax.

Defined Under Namespace

Modules: IsSnippet, LikeOleRuntime Classes: ContextError

Constant Summary collapse

GOOD_CONTEXT =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

AssLauncher::Enterprise::Ole::OLE_CLIENT_TYPES.values

Class Method Summary collapse

Class Method Details

.fail_if_bad_context(obj) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



17
18
19
# File 'lib/ass_ole/snippets.rb', line 17

def self.fail_if_bad_context(obj)
  fail ContextError, ole_class(obj) unless good_context? obj
end