public function setRubyPackage($var)
    {
        GPBUtil::checkString($var, True);
        $this->ruby_package = $var;
        $this->has_ruby_package = true;

        return $this;
    }
public function setRubyPackage($var)
    {
        GPBUtil::checkString($var, True);
        $this->ruby_package = $var;
        $this->has_ruby_package = true;

        return $this;
    }
public function setRubyPackage ( $ var ) { GPBUtil :: checkString ( $ var , True ) ; $ this -> ruby_package = $ var ; $ this -> has_ruby_package = true ; return $ this ; }
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>
@param string $var
@return $this
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 .