Ruby object creation in JSland
Reported by John Barnette | April 1st, 2008 @ 04:29 PM
This should work, but doesn't:
ctx = Johnson::Context
ctx[:Foo] = Foo
assert_not_nil(ctx.evaluate("Foo.new"))
Comments and changes to this ticket
-
John Barnette April 1st, 2008 @ 10:18 PM
- State changed from new to resolved
Not quite. It at least needs to be Foo.new(), which is reasonable.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป