Shopify / measured

Encapsulate measurements and their units in Ruby and Ruby on Rails.
MIT License
337 stars 28 forks source link

Add .name helper to Measurable #9

Closed kmcphillips closed 9 years ago

kmcphillips commented 9 years ago

@Shopify/shipping

Add a helper for the name of the measurable. I want to use it for clearer validation messages in measured-rails. It can be easily overridden on the subclasses if needed.

garethson commented 9 years ago

:ship: