Simple sample unit converter with groovy using metaprogramming
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
README
build.gradle
convert.sh
unitConverter.iml
unitConverter.ipr
unitConverter.iws

README

To run, compile using groovyc, then run the convert.sh script:

./convert.sh 60.meters.to.miles

or ...

./convert.sh '1 mile to inches'