Module: AssOle::Snippets::IsSnippet::MethodMissing 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.

It worcking via method_missing handler

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method, *args) ⇒ 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.



45
46
47
48
# File 'lib/ass_ole/snippets.rb', line 45

def method_missing(method, *args)
  AssOle::Snippets.fail_if_bad_context(self)
  return ole_connector.send(method, *args) if ole_connector
end