Quantcast
Channel: MarsHut
Viewing all articles
Browse latest Browse all 6551

Slighly unexpected behavior setting java member variables

$
0
0
I'm thinking that jruby handling this the 'expected' way might be a
performance issue, which might be why it works the way it does.

You can get java member variables using underscored names, but you cannot
set them using underscores, you have to call the real camelized member
variable name or you get something like this:

undefined method `my_member_variable='

Chris

Viewing all articles
Browse latest Browse all 6551

Trending Articles