Class: Contracts::Builtin::SmallInt

Inherits:
Int
  • Object
show all
Defined in:
lib/contracts/builtin_ext.rb

Class Method Summary collapse

Class Method Details

.generate(min: -2e15,, max: 2e15 - 1) ⇒ Object



37
38
39
# File 'lib/contracts/builtin_ext.rb', line 37

def self.generate(min: -2e15, max: 2e15 - 1)
  super(min: min, max: max)
end