Sha256: aabb6d6f83847f4370b4d7566ba91ac7dc9a3ae1b2c41550372fd544a56c388e
Contents?: true
Size: 278 Bytes
Versions: 51
Compression:
Stored size: 278 Bytes
Contents
@function be-less-than($this) { $actual: actual(); $when: false; @if type-of($actual) == "number" { $when: $actual < $this; } @else { $when: error("type", "The `be-less-than` matcher is only for numbers"); } @return should("be less than", $this, $when); }
Version data entries
51 entries across 51 versions & 2 rubygems