[Ironruby-core] IronRuby and MarkLogic

Charles Oliver Nutter charles.nutter at sun.com
Thu Nov 29 12:35:01 EST 2007


Eric Nicholson wrote:
> I think instead of
>    $content_source::NewSession()
> 
> you want
>    $content_source.NewSession()
> 
> :: is a scoping operator.

:: can be used to invoke methods just as well:

'foo'::reverse # => 'oof'

It just has additional functionality for locating constants in a given 
namespace.

- Charlie


More information about the Ironruby-core mailing list