Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 313 Bytes

README.md

File metadata and controls

13 lines (11 loc) · 313 Bytes

Usage

result = Ingreedy.parse('1 lb. potatoes')
print result.amount
  #=> 1.0
print result.unit
  #=> :pound
print result.ingredient
  #=> "potatoes"

Build Status Build Status