alandipert/rns — pull request #11 by misfo (2012-07-23 00:37:55+00:00)
Title: Rewrite so that namespaces are immutable and separate from classes

@alandipert I know you gave me commit rights on this repo, but this patch completely changes the API so I figured I'd see what you think first.

This patch makes the idea of a namespace something completely separate from the rest of the stateful code. The namespaces enforce immutability (i.e. `@ivar = :something` within a function raises an error). They can be called from stateful code easily with `NsName.function_name 42`.

Also: sorry about the test framework switch. I writing this code as a completely separate project but it ended up serving the same purpose as Rns, so I figured I'd make a pull request here instead.