olbrich/ruby-units — pull request #50 by DarthSim (2012-08-14 20:10:45+00:00)
Title: fix conversion to json

Conversion to json works wrong. Addition of as_json func fixes problem

````ruby
def as_json(*args)
to_s
end
````