Limits

Const Collections of limits.h in Ruby.

Consts

All const value is same in limits.h installed in your machine.

Limits::CHAR_BIT
Limits::MB_LEN_MAX
Limits::CHAR_MAX
Limits::CHAR_MIN
Limits::UCHAR_MAX
Limits::SHRT_MAX
Limits::SHRT_MIN
Limits::USHRT_MAX
Limits::INT_MAX
Limits::INT_MIN
Limits::UINT_MAX
Limits::LONG_MAX
Limits::LONG_MIN
Limits::ULONG_MAX
Limits::LLONG_MAX
Limits::LLONG_MIN
Limits::ULLONG_MAX

Installation

Add this line to your application's Gemfile:

gem 'limits'

And then execute:

$ bundle

Or install it yourself as:

$ gem install limits

License

MIT