Sha256: 08352d1a65dc1348eeea8f47ab358b465af043e8143576c56865ff53ddcd07c3

Contents?: true

Size: 846 Bytes

Versions: 1

Compression:

Stored size: 846 Bytes

Contents

[![Build Status](https://travis-ci.org/kodnin/strom.svg?branch=master)](https://travis-ci.org/kodnin/strom)

# Strom

Ohm's law expressed in Ruby.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'strom'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install strom

## Usage

Require the gem in your project or ```irb``` and find the unknown element:

```ruby
require 'strom'
# => true
0.5.amperes.and(18.ohms)
# => 9.0 volts
18.ohms.and(9.volts)
# => 0.5 amperes
9.volts.and(0.5.amperes)
# => 18.0 ohms
```

## Contributing

1. Fork it ( https://github.com/kodnin/strom/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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
strom-0.0.1 README.md