RubyGems Navigation menu

superators 0.9.0

FEATURES/PROBLEMS: * Presently a superator operand must support having a singleton class. Because true, false, nil, Symbols, and Fixnums are all specially optimized for in MRI and cannot have singleton classes, they can’t be given to a superator. There are ways this can be potentially accounted for, but nothing is in place at the moment, causing this to be classified as a bug. * When defining a superator in a class, any operators overloaded after the superator definition will override a superator definition. For example, if you create the superator "<—" and then define the <() operator, the superator will not work. In this case, the superator’s definition should be somewhere after the <() definition. * Superators work by handling a binary Ruby operator specially and then building a chain of unary operators after it. For this reason, a superator must match the regexp /^(**|*|/|%|+|-|<<|>>|&|||^|<=>|>=|<=|<|>|===|==|=~)(-|~|+)+$/. == SYNOPSIS:

Gemfile:
= In die Zwischenablage kopieren Kopiert!

installieren:
=

Versionen:

  1. 0.9.1 - August 29, 2007* (9 KB)
  2. 0.9.0 - August 21, 2007* (9 KB)

Runtime Abhängigkeiten (1):

hoe >= 1.3.0

Besitzer:

Autoren:

  • Jay Phillips

SHA 256-Prüfsumme:

438a3a5905f854bb4c723048a882f1ff42240f03b4c52b89e4ba5ee14a2c497b

Downloads insgesamt 8.541

Für diese Version 3.313

Lizenzen:

k.A.

Erforderliche Ruby-Version: > 0.0.0

Links: