UniqChar

Gem Version Code Climate GPA Code Climate Coverage Gemnasium Status Travis CI Status Patreon

Table of Contents

Features

Requirements

  1. MRI 2.2.3

Setup

For an insecure install, type the following (not recommended):

gem install uniq_char

Add the following to your Gemfile:

gem "uniq_char"

Usage

  require 'uniq_char'

  'aabbce'.first_uniq_char
  # => 'c'

  'aabbce'.first_uniq_char2
  # => 'c'

  'aabbce'.uniq_chars
  # => ['c', 'e']

  'aabbce'.uniq_chars.first
  # => 'c'

Tests

To test, run:

bundle exec rake

Versioning

0.1.0

Code of Conduct

Please note that this project is released with a CODE OF CONDUCT. By participating in this project you agree to abide by its terms.

Contributions

Read CONTRIBUTING for details.

License

Copyright (c) 2017 . Read the LICENSE for details.

History

Read the CHANGELOG for details. Built with Gemsmith.

Credits

Developed by zhitongLIU at .