Skip to content

gogotanaka/shioconv

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shioconv

convert between volumes and weight for typcal condiments.

Build Status

Coverage Status

Code Climate

Installation

Add this line to your application's Gemfile:

gem 'shioconv'

And then execute:

$ bundle

Or install it yourself as:

$ gem install shioconv

Usage

  • convert amount of condiments between units
salt = Shioconv.measure(:salt, 1, :tbsp)

salt.to_cc # => 15.0
salt.to_g  # => 18.0
  • show all condiments and units
Shioconv::Condiment.list # => returns array of string
Shioconv::Unit.list      # => returns array of string

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%