Sha256: cf6b3dbdd05d80820bb31c9971d5b04c731338f20c03484f27be7a11d32514e4

Contents?: true

Size: 1.09 KB

Versions: 1

Compression:

Stored size: 1.09 KB

Contents

# Space2underscore
## What
Change the space into underscore.

## Installation

Add this line to your application's Gemfile:

    gem 'space2underscore'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install space2underscore

If your computer is Ubuntu

    $ sudo apt-get install xsel

If your computer is CentOS

    $ sudo yum -y install xsel

You need to alias

    $ alias pbcopy='xsel --clipboard --input'

## Usage

From the terminal:

    $ space2underscore target sentence
    => target_sentence  # copied to the clipboard

# Example of use

![example of use](https://raw.githubusercontent.com/sachin21/space2underscore/master/img/screenshot.png)

From the terminal:

    $ space2underscore add stock function to user feeed # underscore included branch name is copied to clipboard
    $ git checkout -b add_stock_function_to_user_feeed # paste

## Contributing

1. Fork it
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 new Pull Request

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
space2underscore-0.1.5 README.md