Sha256: d771042c1a2678c149e3b46cf77c281eee5771626e00c8ee320a82448957858b
Contents?: true
Size: 288 Bytes
Versions: 9
Compression:
Stored size: 288 Bytes
Contents
module Cassanity def self.Decrement(*args) Decrement.new(*args) end class Decrement < Operator # Public: Returns an decrement instance def initialize(value = 1) raise ArgumentError.new("value cannot be nil") if value.nil? super :-, value end end end
Version data entries
9 entries across 9 versions & 1 rubygems