RubyGems Navigation menu

niclasnilsson-clean-assert 0.5.0

A Ruby library to get really clean asserts. Example: assert / "name != nil" / "not name.empty?" / "age >= 21" This will do three separate assertion checks and will give you an error message that includes the broken assertion code, the class and in which method. No need for having first the actual assertion and a strained error message that you normally have to write. This is executable, Design by Contract style.

Gemfile:
= In die Zwischenablage kopieren Kopiert!

installieren:
=

Versionen:

  1. 0.6.2 - August 10, 2014 (7 KB)
  2. 0.6.1 - August 10, 2014 (7 KB)
  3. 0.5.0 - August 10, 2014 (7 KB)

Development Abhängigkeiten (2):

hoe >= 1.8.0
newgem >= 1.3.0

Autoren:

  • Niclas Nilsson

SHA 256-Prüfsumme:

43f752defa0c678c2ebfa0f2b6c22e73633c5b5261388a31fadc0b6ae54b5471

Downloads insgesamt 7.966

Für diese Version 2.345

Lizenzen:

k.A.

Erforderliche Ruby-Version: >= 0

Links: