Module: Com::Sun::Star::Lang::XServiceInfo

Defined in:
lib/rubyloader.rb

Overview

Provides XServiceInfo interface from two constants. IMPLE_NAME is its implementation name in String. SERVICE_NAMES is supported service names of the component in Array of String.

Instance Method Summary collapse

Instance Method Details

#getImplementationNameObject



91
92
93
# File 'lib/rubyloader.rb', line 91

def getImplementationName
  return self.class::IMPLE_NAME
end

#getSupportedServiceNamesObject



99
100
101
# File 'lib/rubyloader.rb', line 99

def getSupportedServiceNames
  return self.class::SERVICE_NAMES
end

#supportsService(name) ⇒ Object



95
96
97
# File 'lib/rubyloader.rb', line 95

def supportsService(name)
  return self.class::SERVICE_NAMES.include? name
end