Module: AssMaintainer::InfoBase::ServerIb::EnterpriseServers::Support::InfoBaseFind Private
- Included in:
- Cluster, WpConnection
- Defined in:
- lib/ass_maintainer/info_base/server_ib/enterprise_servers/support.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.
Mixin for find infobase per name
Instance Method Summary collapse
-
#infobase_find(ib_name) ⇒ WIN32OLE
private
Searching infobase in #infobases array.
-
#infobase_include?(ib_name) ⇒ Boolean
private
True if infobase registred in cluster.
- #infobases ⇒ Object private
Instance Method Details
#infobase_find(ib_name) ⇒ WIN32OLE
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.
Searching infobase in #infobases array
83 84 85 86 87 |
# File 'lib/ass_maintainer/info_base/server_ib/enterprise_servers/support.rb', line 83 def infobase_find(ib_name) infobases.find do |ib| ib.Name.upcase == ib_name.upcase end end |
#infobase_include?(ib_name) ⇒ 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.
True if infobase registred in cluster
92 93 94 |
# File 'lib/ass_maintainer/info_base/server_ib/enterprise_servers/support.rb', line 92 def infobase_include?(ib_name) !infobase_find(ib_name).nil? end |
#infobases ⇒ 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.
75 76 77 |
# File 'lib/ass_maintainer/info_base/server_ib/enterprise_servers/support.rb', line 75 def infobases fail 'Abstract method' end |