function FileOptions::getRubyPackage
Use this option to change the package of ruby generated classes. Default is empty. When this option is not set, the package name will be used for determining the ruby package.
Generated from protobuf field <code>optional string ruby_package = 45;</code>
Return value
string
File
-
vendor/
google/ protobuf/ src/ Google/ Protobuf/ Internal/ FileOptions.php, line 1045
Class
- FileOptions
- Generated from protobuf message <code>google.protobuf.FileOptions</code>
Namespace
Google\Protobuf\InternalCode
public function getRubyPackage() {
return isset($this->ruby_package) ? $this->ruby_package : '';
}