3. Conformance

From Ruby Standard Wiki

(Redirected from Conformance)
Jump to: navigation, search
3: Conformance

A conforming Ruby program shall:

  • use only those features of the language specified in this document;
  • not rely on implementation dependent features;

A conforming Ruby processor shall:

  • accept any conforming programs and behave as specified in this document;
  • reject any program which does not conform to the syntax described in this document;
  • report any unhandled exceptions raised during execution of the conforming program;

A conforming Ruby processor may use an internal model for the Ruby language other than the one specified in this document, if it does not change the meaning of a conforming program.

Navigation

Previous: 2. Normative references Next: 4. Terms and definitions

Personal tools