On Tue, 8 Feb 2005 12:20:12 +0900, Assaph Mehr <assaph / gmail.com> wrote:
> Doesn't help. At some point in the program there is the (conceptual) if
> statement:
>   if user_has_rights
>     do_this
>   else
>     yell_at_user_to_buy
>   end

Actually, this method _could_ work with Ruby. You _don't_ need to have
that conditional, because Ruby has open class/module definitions. You
could separate the extra functionality into a separate set of files.
Then create an encrypted package of the files. When the files are
pulled out of the package and placed in the correct directory, the
extra functionality would be enabled.

Sure, someone could distribute the files illegally after gaining
access, but that's a slightly different issue.

-- 
Regards,
John Wilger

-----------
Alice came to a fork in the road. "Which road do I take?" she asked.
"Where do you want to go?" responded the Cheshire cat.
"I don't know," Alice answered.
"Then," said the cat, "it doesn't matter."
- Lewis Carrol, Alice in Wonderland