Skip to content

shadow3x3x3/skyline-cr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

skyline-cr

Comparing two Array that are multiple attributes with Skyline Query definition.

Build Status

Installation

Add this to your application's shard.yml:

dependencies:
  skyline-cr:
    github: shadow3x3x3/skyline-cr

Usage

require "skyline-cr"
[1, 2, 3].dominate? [2, 3, 4] # => Domination::Dominate
[1, 2, 3].dominate? [2, 3, 1] # => nil
[2, 3, 4].dominate? [1, 2, 3] # => Domination::BeDominated
[2, 3, 4].dominate? [1, 2, 3, 1] # => raise SkylineException "Two Attributes size are not match."

Development

crystal spec

Contributing

  1. Fork it ( https://github.com/shadow3x3x3/skyline-cr/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

About

Implement skyline core in Crystal

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published