Suppressing Rdoc for a constant

View: New views
1 Messages — Rating Filter:   Alert me  

Suppressing Rdoc for a constant

by Tristin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Can someone tell me how I can suppress rdoc for a constant. I'm writing a Jruby wrapper around an existing Java class and a few of the fields are public and capitalized, so rdoc thinks they are constants. I've tried :nodoc: on each one, but It doesn't work

def connect(user_id,pass,cell_name,cell_server,client_name="jruby")
      @conn.ClientID = user_id  #Need to suppress
      @conn.ClientPassword = pass #Need to suppress
      @conn.CellControlServer = cell_server #Need to suppress
      @conn.CellName = cell_name #Need to suppress
      @conn.APIVersion = Jmd.const_get(:MDC_API_VERSION) #Need to suppress
      @conn.mdopen_connection(client_name)
      true

end