thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Eberhardt <>
Subject constant namespace in ruby generated code
Date Wed, 28 Nov 2012 21:18:22 GMT

I was wondering if there was a reason a file containing constants is
generated in Java within a class while Ruby generated code puts them in a
global space? The java class is myThriftConstants and I was curious if it
would be better to also have a myThriftConstants module in the ruby
generated code. I briefly looked at the compiler code for ruby but I'm not
very familiar with it yet.


Phil Eberhardt

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message