Module: AssOle::Runtimes::ModuleMethods Private
- Defined in:
- lib/ass_ole.rb
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.
Instance Attribute Summary collapse
- #ole_connector ⇒ Object readonly private
Instance Method Summary collapse
- #extended(obj) ⇒ Object private
- #included(obj) ⇒ Object private
- #initialized? ⇒ Boolean private
- #runned? ⇒ Boolean private
- #stop ⇒ Object private
Instance Attribute Details
#ole_connector ⇒ Object (readonly)
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.
50 51 52 |
# File 'lib/ass_ole.rb', line 50 def ole_connector @ole_connector end |
Instance Method Details
#extended(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.
74 75 76 |
# File 'lib/ass_ole.rb', line 74 def extended(obj) ole_runtime_set obj end |
#included(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.
69 70 71 72 |
# File 'lib/ass_ole.rb', line 69 def included(obj) ole_runtime_set obj obj.send(:extend, RuntimeDispatcher) end |
#initialized? ⇒ Boolean
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.
65 66 67 |
# File 'lib/ass_ole.rb', line 65 def initialized? !ole_connector.nil? end |
#runned? ⇒ Boolean
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.
61 62 63 |
# File 'lib/ass_ole.rb', line 61 def runned? initialized? && ole_connector.__opened__? end |
#stop ⇒ 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.
57 58 59 |
# File 'lib/ass_ole.rb', line 57 def stop ole_connector.__close__ if runned? end |