Popularity
0.9
Declining
Activity
0.0
Stable
1
1
0

Programming language: Crystal
License: MIT License
Tags: Examples And Funny Stuff    

clamp alternatives and similar shards

Based on the "Examples and funny stuff" category.
Alternatively, view clamp alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of clamp or a related project?

Add another 'Examples and funny stuff' Shard

README

clamp

GitHub version CI

implements #clamp on any Comparable

  'a'.clamp('b', 'c') # => 'b'
  'b'.clamp('a', 'c') # => 'b'
  'd'.clamp('a', 'c') # => 'c'

  ...

Installation

Add this to your application's shard.yml:

dependencies:
  clamp:
    github: johnjansen/clamp

Usage

require "clamp"

Contributing

  1. Fork it ( https://github.com/johnjansen/clamp/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors